如何使 .NET 安装项目安装程序到 Microsoft 以外的其他程序

发布于 2024-12-11 22:05:41 字数 87 浏览 3 评论 0原文

如何将 .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 技术交流群。

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

发布评论

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

评论(1

全部不再 2024-12-18 22:05:41

在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.

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