我开发了一个 VB.NET 控制台应用程序并尝试使用 Build | Visual Studio 2008 中的“发布”菜单选项创建一个安装程序。除了两件事外,它工作正常:
- 当我在 Windows 2003 Server 上运行安装程序时,它会将应用程序安装在 C:\Winnt\profiles\\Local Settings\Apps\2.0 目录中。如何配置设置以便它提示输入应用程序的目标目录?
- 安装完成后,它会自动启动应用程序。如何抑制自动启动?
最佳答案
有two options to deploy VB.NET 应用程序:
Program Files
.更新 : Windows Installer 安装项目已 removed in Visual Studio 2012 ,但可以作为 an extension in Visual Studio 2013 使用.
让用户选择目标目录只能使用后一个选项。
相关问题:How do I dictate the destination folder of a clickOnce application?
关于vb.net - 如何允许在自定义目标目录中安装并禁止自动启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2358910/