[英]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.