[英]How do I add my program to the users start menu with VS2010 Setup Project?
How do I add my program to the users start menu with VS2010 Setup Project?如何使用 VS2010 安装项目将我的程序添加到用户开始菜单?
I don't see an obvious place to do this.我没有看到一个明显的地方可以做到这一点。
What would be even better than this is a link to a reference that holds my hand through setting up projects so I can see how it is supposed to be done.比这更好的是一个指向参考的链接,它通过设置项目握住我的手,这样我就可以看到它应该如何完成。
Thanks!谢谢!
Application Folder
, look on the right hand side it should say, Primary output from X
(make sure you don't have other widgets covering up this real estate.)Application Folder
,在右侧看它应该说, Primary output from X
(确保你没有其他小部件覆盖这个空间。)User's Program's Menu
==> create the folder that you want your shortcut to reside in, probably your company nameUser's Program's Menu
==> 创建您希望快捷方式驻留的文件夹,可能是您的公司名称After wasting an hour, I got it done - VS 2010 (this article helped):浪费了一个小时后,我完成了 - VS 2010(这篇文章有帮助):
In your Deployment Project go to File System Editor Click on "Application Folder" (I assume you have "Primary Output" from your projects there) Right click on "Primary Output" of the project you want to target with your shortcut - select "Create Shortcut to Primary Output ..." Rename shortcut Drag shortcut to Desktop / Programs Menu folder That's it!在您的部署项目中转到文件系统编辑器单击“应用程序文件夹”(我假设您的项目中有“主要输出”)右键单击要使用快捷方式定位的项目的“主要输出” - 选择“创建主输出的快捷方式...” 重命名快捷方式 将快捷方式拖到桌面/程序菜单文件夹 就是这样!
In the Setup Project File System , right-click the User's Programs Menu , and create a folder for your application.在Setup Project File System中,右键单击User's Programs Menu ,然后为您的应用程序创建一个文件夹。 Go to the Application Folder , right-click project output, then select Create Shortcut to xxx .
转到Application Folder ,右键单击项目输出,然后选择Create Shortcut to xxx 。 Drag the shortcut to the application folder.
将快捷方式拖到应用程序文件夹。
Creating the shortcut at the top level of the start menu is not really standard behavior.在开始菜单的顶层创建快捷方式并不是真正的标准行为。 The shortcut should be created in the folder [Manufacturer][ProductName] in the user's "Programs" menu.
快捷方式应在用户“程序”菜单的文件夹 [Manufacturer][ProductName] 中创建。 However, it seems you can't use the installer properties in the Visual Studio deployment proje
但是,您似乎无法在 Visual Studio 部署项目中使用安装程序属性
Sorry I'm 11 years late for this but here is a way to do it:抱歉,我为此迟到了 11 年,但这是一种方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.