生成Bootstrapper是否需要VS2008
我是否需要安装 Visual Studio 2008 才能为我的 msi 安装程序构建引导程序?
我的构建服务器上没有安装 VS2008,我不想只是为了生成这个引导程序而安装它,但似乎所需的引导程序文件(setup.bin、Microsoft SDKs 文件夹等)包含在VS 设置。
Am I required to install Visual Studio 2008 in order to build a bootstrapper for my msi installer?
I don't have VS2008 installed on my build server, and I'd rather not install it just to generate this one bootstrapper, but it appears that the required bootstrapper files (setup.bin, the Microsoft SDKs folder, etc) are included in the VS setup.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我刚刚将文件从我的开发盒复制到构建服务器。 效果很好。
安装 Windows SDK 没有帮助,因为引导程序 不是一部分SDK 的,即使文件所在的位置也是如此。
I just ended up copying the files from my dev box to the build server. That worked fine.
Installing the Windows SDK didn't help, as the bootstrapper isn't part of the SDK even though that's where the files are located.
应该可以在包含引导程序的构建服务器上安装 Windows SDK。
为了构建 Visual Studio 安装和部署项目,您需要安装 VS。 但是,您可以使用 MSBuild 脚本在没有 VS 的情况下构建引导程序(一个很好的组合是使用 MSI 的 WiX 和 MSBuild 来创建引导程序)。 您将需要使用GenerateBootstrapper任务(以下内容将输出安装.NET Framework的本地化引导程序):
这些相关问题可能会有所帮助:
It should be possible to install the Windows SDK on your build server which includes the bootstrapper.
In order to build Visual Studio setup and deployment projects you will need to have VS installed. However, you can use an MSBuild script to build the bootstrapper without VS (a good combination would be to use WiX for your MSI and MSBuild to create the bootstrapper). You will need to use the GenerateBootstrapper task (the following would output a localized bootstrapper installing the .NET Framework):
These related questions might be helpful: