如何将WPF应用程序的exe添加到开始->程序

发布于 2024-08-05 02:59:52 字数 197 浏览 3 评论 0原文

我使用 VS 2008 应用程序中的安装项目创建了 WPF UI 应用程序的 exe。我已经在调试和发布模式下生成了 exe 和 msi。

我也可以安装该应用程序。但是,我怎样才能在“开始”->“”中找到它的快捷方式?节目??

在 DEBUG r RELEASE 模式下创建 exe 时提供任何选项吗?

请指导我。 谢谢 拉姆

I have created an exe of the WPF UI application, using Setup project in the VS 2008 application. I have generated exe's and msi's in DEBUG and RELEASE mode.

I am able to install the application too. But, how can I have the shortcut of it in Start-> Programs ??

Any option to be provided while creating exe in DEBUG r RELEASE mode?

Please guide me.
thanks
Ramm

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

小…楫夜泊 2024-08-12 02:59:52

对您的项目执行以下步骤。

  • 1. 右键单击​​项目并选择“查看”-->“文件系统”
  • 2. 从左侧选择“用户程序菜单”。右键单击它并添加-->文件夹添加,为文件夹提供应用程序名称“MyAppln”。
  • 3. 单击应用程序文件夹。在“开始”-->“程序”中选择要添加的文件,如“MyApp.exe”。
    右键单击并创建快捷方式。您将获得一个名为“Shortcut to MyApp.exe”的快捷方式。只需将其重命名为“MyApp”即可。
  • 4. 从这里剪切文件。
  • 5. 将快捷方式文件粘贴到“用户程序菜单”中的“MyAppln”文件夹中。

  • Do following steps on the your project.

  • 1. Right click on the project and Select View-->File System
  • 2. Select 'User's Programs Menu' from the left. Right click on it and Add-->Folder add give your Application name for the folder say 'MyAppln'.
  • 3. Click on the Application Folder. Select the file you want to add in Start-->Programs say MyApp.exe.
    Right Click and Create ShortCut. You will get a Shortcut there with name 'Shortcut to MyApp.exe'. Just rename it to 'MyApp'.

  • 4. Cut the file from here.
  • 5. Paste the shortcut file in the Folder 'MyAppln' in 'User's Programs Menu'.

  • So尛奶瓶 2024-08-12 02:59:52

    在 vs 2008 IDE 中创建一个安装项目。它会询问您(在第一步)默认情况下将应用程序放置在哪里(目标计算机上的文件系统)。在那里您可以选择应用程序文件夹、用户桌面或用户程序菜单。

    如果您想将您的应用程序放置在XX应用程序下的程序菜单中,则必须通过右键单击用户程序菜单来添加一个XX应用程序

    Create a setup project in vs 2008 IDE. And it will ask you (in the first step) where to place your application by default (File system on your target machine). There you can choose Application folder, users desktop or Uers program menu.

    if you wanted to place your app at program menu under the XX App, then you have to add a foilder XX App by right clicking the Uers program menu.

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