Hello, If i don't missunderstood you, you can set a property with the correct path before installation was triggered.
e.g: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="INSTALLDIR" > ..... <CustomAction Id="SetX64Folder" Directory="INSTALLDIR" Value="[ProgramFiles64Folder]" /> <CustomAction Id="SetX86Folder" Directory="INSTALLDIR" Value="[ProgramFilesFolder]" /> <Custom Action=" SetX64Folder " After="CostFinalize">VersionNT64</Custom> <Custom Action=" SetX86Folder " After="CostFinalize">NOT VersionNT64</Custom> kind regards, Martin -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Dienstag, 24. April 2012 15:01 To: General toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Burn - Combined x86/x64 package I have created a combined x86 and x64 package by setting the InstallCondition of my MsiPackages to "NOT VersionNT64" or "VersionNT64" respectively. This works ok but I can't see how to set the InstallFolder variable so that it is correct for the options dialog in the StdBA (I can set it correctly for the install by just using 2 variables but the options dialog references InstallFolder). Does anyone know how to do this? What I would like is a condition associated with the variable but can't see how to do that. Thanks Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com<mailto:n...@x2systems.com> ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users