简体   繁体   English

我可以使用VS安装项目来构建可以安装正确平台版本的引导程序,还是有免费的第三方工具?

[英]Can i use VS Setup Project to build a bootstrapper which can install correct platform version or are there any free 3rd party tools?

I'm building 2 different MSI with Visual Studio Setup Project. 我正在用Visual Studio安装项目构建2个不同的MSI。 One for x86 and x64. 一个用于x86和x64。 But i couldn't find a way to combine both into one project so that the bootstrapper is installing the correct platform version. 但是我找不到将两者结合到一个项目中的方法,以使引导程序安装正确的平台版本。

Is there a way to do so in VS Setup Project or are are there any free 3rd party tools i can use? 在VS安装项目中是否可以这样做,或者我可以使用任何免费的第三方工具? I found dotnetinstaller, but i'm not sure if that is what i'm looking for. 我找到了dotnetinstaller,但是我不确定这是否是我要找的东西。

You can use WiX bootstraper: More info can be found here: http://www.wixwiki.com/ 您可以使用WiX引导程序:有关更多信息,请参见: http//www.wixwiki.com/

An example how to build both 32 and 64 bit MSIs you will find here: http://blogs.msdn.com/astebner/archive/2007/08/09/4317654.aspx 您将在此处找到如何同时构建32位和64位MSI的示例: http : //blogs.msdn.com/astebner/archive/2007/08/09/4317654.aspx

You could write a native app and have it check if the system is x86 or x64 then have it write the correct installer to a temp directory and run it. 您可以编写一个本机应用程序,让它检查系统是x86还是x64,然后让它将正确的安装程序写入temp目录并运行它。 I wrote a blog post that could probably get you started at http://blog.foldertrack.com/?p=45 我写了一篇博客文章,可能会让您入门http://blog.foldertrack.com/?p=45

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 控制第三方程序 - Controlling 3rd party program 使用第三方控件 - Using a 3rd party control 在.NET(C#或VB.NET)中生成摩尔斯电码(或任何音频),而无需第三方依赖,也无需使用音频文件 - Generate Morse Code (or any audio) in .NET (C# or VB.NET) without 3rd party dependencies, and without needing to use an audio file 可以将内置浏览器控件(在Visual Studio项目工具中)用于Auth 2? - can I use build in browser control(In visual studio item tools) for Auth 2? 我可以使用哪些项目模板来创建Winform dll库? - Which project templates I can use to create a winform dll library? VS 2008安装项目中的构建错误 - Build Error in VS 2008 Setup Project 如何仅使用标准.Net而不使用第三方dll将数据表仅导出到Excel? - How do I export only a datatable to Excel using only standard .Net and not a 3rd party dll? 我在运行时使用Tabcontrol创建的所有选项卡页即使在数据库中也无法显示第三个按钮 - All my tabpage create in runtime using Tabcontrol can't show 3rd button even i have it in my database 如何将内部版本号与可执行文件上的版本号同步? - How can I sync the build version number with the version number on the executable? 不含第三方库的.Net 4.5中的Zip文件 - Zip Files in .Net 4.5 without 3rd party libraries
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM