安装后如何为应用程序创建快捷方式. [英] how to create a shortcut to a application after it get installed.

查看:177
本文介绍了安装后如何为应用程序创建快捷方式.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为它创建了一个应用程序和设置项目.

当我安装该应用程序时,我想向桌面添加快捷方式.

I have created one application and setup project for the same.

When I installed that application I want to add shortcut to desktop.

Please any one tell me how to do?

推荐答案

尝试阅读以下内容:
如何在Visual Studio 2005或Visual Studio .NET中向安装项目添加快捷方式文件 [
Try reading this:
How to add a shortcut file to a Setup project in Visual Studio 2005 or in Visual Studio .NET[^]

Regards
Espen Harlinn


是否有原因未在安装项目中包含此功能?

如果您想这样做,请查看
this [
Is there a reason that you have not included this functionality in your setup project?

In case you would like to do it that way, take a look at this[^].


为实现这一目标,我执行了以下步骤:
1.在VS中创建一个安装程序部署项目.
2.在应用程序文件夹"中添加了一个文件.
3.在应用程序文件夹"中创建文件的快捷方式.
4.在用户的桌面文件夹中移动了快捷方式.
5.构建解决方案并创建setup.exe文件.
执行安装文件并部署文件,并在桌面上创建它的快捷方式.
希望这能回答您的问题.
To achieve the goal I followed the following steps:
1. Created a setup deployment project in VS.
2. Added a file in Application Folder.
3. Created a shortcut of the file in Application Folder.
4. Moved the shortcut in the User''s Desktop Folder.
5. Build the solution and created the setup.exe file.
Executed the setup file and it deployed the file as well as created the shortcut of it on the desktop.
Hope this will answer your question.


这篇关于安装后如何为应用程序创建快捷方式.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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