I am using Wix 2.0 and trying to use a snippet like this: <?if $(var.target)="x86"?> <?define Platforms="Intel"?> <?define ProgramFiles="ProgramFilesFolder"?> <?define Win64="no"?> <?define Source="OpenAFS Client Manager x86.dll"?> <?define ProcessorArchitecture="x86"?> <?define Platform="32bit"?> <?elseif $(var.target)="x64"?> <?define Platforms="Intel64"?> <?define ProgramFiles="ProgramFiles64Folder"?> <?define Win64="yes"?> <?define Source="OpenAFS Client Manager x64.dll"?> <?define ProcessorArchitecture="x64"?> <?define Platform="64bit"?> <?else?> <?error Target not set.?> <?endif?>
It does not seem to be working since an x64 build seems to build with the x86 values. The full source of Installer.wxs can be seen at http://code.google.com/p/openafsclientmmc/source/browse/trunk/OpenAFS%20Client%20Manager/Installer.wxs Brant Gurganus http://gurganus.name/brant ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users