如何使 .NET 安装项目安装程序到 Microsoft 以外的其他程序
如何将 .NET 安装项目安装到 Microsoft 以外的其他程序上?我尝试修改程序集信息,但没有成功。是否有某种设置文件会强制安装项目安装到我指定的文件夹?
How do I make .NET Setup Project install program to something other than Microsoft? I've tried modifying the Assembly Information, but that didn't do it. Is there a settings file of some kind that will force the setup project to install to a folder that I specify?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在VS中选择部署项目。选择“视图”→“编辑器”→“文件系统”→“应用程序文件夹”。选择属性。 DefaultLocation 属性是应用程序的默认安装位置。
桌面应用程序应安装到用户的 Program Files 文件夹中,有一个 Windows Installer 属性值 [ProgramFilesFolder] 为此。
Select the deployment project in VS. Choose View → Editor → File System → Application Folder. Choose Properties. The DefaultLocation property is where the app gets installed by default.
Desktop apps should be installed to the user's Program Files folder, there is a Windows Installer property value [ProgramFilesFolder] for this.