如何选择安装已发布的VS2015项目的位置 [英] How do I choose where to install a published VS2015 project

查看:66
本文介绍了如何选择安装已发布的VS2015项目的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许我错过了一些明显明显的东西,但如果我在VS2015中创建一个VB项目,然后将其发布到Installs文件夹,当我运行安装程序时,它实际上启动了程序。我想让它问我在哪里安装它,并询问我是否想要创建一个快捷方式。



实际上这不是一个真正的问题我,但是当我在不同的机器上运行安装程序时,它只是将文件夹安装到桌面,在桌面上放置快捷方式并启动程序,这不是用户期望或想要的东西!!!



如何通过用户输入正确安装?

Maybe I am missing something blatantly obvious here, but if I create a VB Project in VS2015 and then Publish it to an Installs Folder, when I run the Setup it actually starts the Program. I want it to ask me where I want to Install it and for it to ask if I want a Shortcut created.

As it happens this is not really a problem for me, but when I run the Setup on a different machine, it just Installs the Folder to the Desktop, puts a Shortcut on the Desktop and Starts the Program, that's not what a User is going to expect or want !!!

How do I get this to properly Install with User input ?

推荐答案

发布是最严格的重新打包方式一个应用程序。它会删除所有选项,包括选择安装应用程序的文件夹。



如果您要为应用程序创建安装程序我建议使用第三方工具,例如Wix Toolset,InnoSetup,Advanced Installer,InstallShield等。
Publish is the most restrictive way to repackage an application. It takes away all of your options, including the ability to pick in which folder to install the application.

If you're going to create an installer for your application I suggest using a third party tool, such as Wix Toolset, InnoSetup, Advanced Installer, InstallShield or whatever.


这篇关于如何选择安装已发布的VS2015项目的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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