Visual Studio 中的正常设置
只是想知道是否有办法使 Visual Studio 2008 Express Edition 生成由安装程序为我的应用程序创建的正常 exe 文件?
我厌倦了 ClickOnce 应用程序文件。我已经设置了所有这些文件关联,现在我实际上需要为我的应用程序安装一个安装程序,代码中的文件关联设置不起作用,因为现在它们是“ClickOnce”应用程序文件而不是普通的 exe 文件。不,VS 根本不会为 ClickOnce 应用程序创建任何 exe 文件。
非常感谢任何帮助,
谢谢:)
Just wondering if there's a way to make Visual Studio 2008 Express Edition generate normal exe files that are created by the installer for my app?
I am sick of the ClickOnce application files. I had all these file associations setup and now that I need to actually have an installer for my apps, the file associations setup in the code don't work because now they're "ClickOnce" app files and not normal exe files. And no, VS does not create any exe files at all for ClickOnce apps.
Any help is much appreciated
thank you :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
VS Express 可以创建Setup.Exe 吗?不。
如果您检查许可证,您会发现 Express 版本并不打算进行分发(我在这里没有确切的措辞)。因此微软将安装生成器排除在包装之外。
您可以使用任何第三方安装程序,但这样您可能会违反许可证。
编辑:以上适用于VS2005 Express。
2008年和2010年Express的许可证似乎更宽松,请检查一下。
Can VS Express create Setup.Exe? No.
If you examine the license you will find that the Express edition is not intended to make distributions (I don't have the exact wording here). So MS left the Setup generator out of the package.
You can use any 3rd party setup maker but then you might be violating the license.
Edit: the above applies to VS2005 Express.
The licenses for 2008 and 2010 Express seem to be more lenient, do check.
应包含您的应用程序的 .exe 文件。
但是,如果您想使用 EXE 进行部署,则应创建“发布版本”。
完成此操作后,您的文件将位于
Should contain .exe files for your application.
If you want to use the EXEs for deployment, however, you should create a "Release build."
Once you do that, your files will be in
据我记得 Express 版本不提供部署工具,但仍然有许多免费安装程序可以做到这一点;例如,您可能想尝试 NSIS 或 InnoSetup。
As far as I remember the Express edition do not provide tools for deployment, but still there are many free installers that can do the trick; you may want to try NSIS or InnoSetup, for example.
右键单击您的解决方案>添加>项目>>其他项目类型>设置和部署> Visual Studio 安装程序 >设置项目
Right Click your Solution > Add > Project > Other Project Types > Setup and Deployment > Visual Studio Installer > Setup Project