如何在部署期间将目标设置为应用程序 exe
我有一个控制台应用程序,我想使用一些 msi/setup.exe 文件来部署/共享它。我使用了 Visual Studio 安装项目类型。我在用户的桌面文件夹中创建了一个桌面快捷方式。但我无法将此快捷方式指向应用程序.exe 文件,它只允许添加应用程序文件夹。
所以我想要的是,一旦我安装了我的应用程序(使用 msi/exe),它将在桌面上创建一个快捷方式,然后当我单击该快捷方式时,它应该直接打开应用程序,而不是应用程序文件夹。
谢谢, 普里坦
I have a console application and I want to deploy/share it using some msi/setup.exe file. I have used Visual Studio Setup Project type. I have created a desktop shortcut in User's desktop folder. But I can not point this shortcut to the application .exe file, it only allow to add application folder.
So what I want, once I install my application (using the msi/exe), it will create a shortcut in desktop, and then when I will click the shortcut it should open the application directly, and not the application folder.
Thanks,
Pritam
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我至少有一年没有这样做了。
但如果我没记错的话,右键单击项目输出并选择创建快捷方式(在输出的同一文件夹上),然后将其拖放到桌面文件夹中。
I Haven't done this for at least a year.
But if I remember right' Right click on the Project Output and select create shortcut (on the same folder of the output) and then drag and drop it to the desktop folder.