在安装程序的“开始"菜单中创建应用程序的快捷方式(Visual Studio 2008) [英] Creating a shortcut to an application in start menu in setup (Visual Studio 2008)

查看:116
本文介绍了在安装程序的“开始"菜单中创建应用程序的快捷方式(Visual Studio 2008)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的C#程序创建一个安装程序(在VS 2008中).程序安装后,我想要我的应用程序的开始菜单快捷方式.
我在解决方案中添加了设置和部署项目,并设置了必要的参数.然后在用户程序菜单中,我右键单击并创建了用户程序菜单"的快捷方式.安装成功,但是快捷方式引用的是目录而不是 MyApplication.exe 文件.我认为应该更改目标属性,但它仅指三个文件夹(应用程序文件夹,用户的桌面和用户的程序菜单)而不是文件.我应该如何设置目标文件.在此先感谢您.

I want to create a setup for my C# program (In VS 2008). After program installation, I would like to have a start menu shortcut of my application.
I added a setup and deployment project to the solution and I have set the necessary parameters. Then in User''s Program Menu, I right clicked and created shortcut to User''s Program Menu. The installation goes successfully, but the shortcut refers to a directory instead of the MyApplication.exe file. I think that the target properties should be changed, but it refers just to three folders (application Folder, User''s Desktop and User''s Program Menu) not files. How I should set the target file. Thanks a lot in advance.

推荐答案

在这里,您可以进行以下操作:
MSDN:如何为Visual Studio 2005或Visual Studio .NET安装和部署项目创建快捷方式 [
Here you go:
MSDN: How to create shortcuts for a Visual Studio 2005 or Visual Studio .NET setup and deployment project[^]


这篇关于在安装程序的“开始"菜单中创建应用程序的快捷方式(Visual Studio 2008)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆