如何在部署期间将目标设置为应用程序 exe

发布于 2024-09-03 19:49:27 字数 246 浏览 0 评论 0原文

我有一个控制台应用程序,我想使用一些 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青衫负雪 2024-09-10 19:49:27

我至少有一年没有这样做了。
但如果我没记错的话,右键单击项目输出并选择创建快捷方式(在输出的同一文件夹上),然后将其拖放到桌面文件夹中。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文