English 中文(简体)
WIX 安装器, 包括不同组合模块, 取决于平台
原标题:WIX installer, include different merge modules depending on platform
  • 时间:2012-05-23 11:48:04
  •  标签:
  • wix
  • setupapi

我用 WIX 安装器撰写一个应用程序。 应用程序需要一个驱动程序( 我也写了这个程序), 而这个程序是通过包含在主 WIX 安装器工程中的合并模块安装的 。

不同的平台需要不同的驱动变量, 据我所知,它们需要不同的安装软件包, 因为我无法在同一安装器中包括 diffxapp_x64 和 diffxapp_x86 。

因此,我有一个主要安装器和三个合并模块(对于 x86, x64 和 ia64 ) 。 我可以使用目标平台设置来有条件地将正确的合并模块变量纳入主安装器项目, 吐出三个包吗?

谢谢 谢谢

汤姆

问题回答

使用 < a href=> "http://wix.sourceforge.net/ manual-wix3/ preixor.htm" rel="nofollow" >WiX 预处理器 。

当启动安装器时,设置 WiX 预处理器变量,并根据变量的价值,根据有条件的语句选择不同的合并模块。





相关问题
3rd party Wix libraries

I am just getting started with Wix. I see there there a several libraries included with the default Wix install. I also see that users can create their own libraries(wixlibs). Are there any 3rd ...

Psake, Powershell & Wix

I have the below function as a part of my psake build. When the build is executing Candle.exe throws this error: candle.exe : warning CNDL1098: ext .BuildPackagesWixWebinWixIIsExtension.dll ...

wix custom dialog for config edit

hi i m trying make a setup msi for my application with wix v3 I have a problem about this task; I need a user input that will be stored in my application s config file (for example i need a dialog for ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

Conditional uninstall of previous version in Wix

I m doing an installer for an software used for debugging embedded ARM cores (OpenOCD) and this installer automatically removes the previous versions - that s simple. However, sometimes that would be ...

热门标签