Stefan Kuhr wrote:
> I have a soon-to-be-released product whose binaries are all x86. But I slo
> have a version of the product that is all native x64 binaries, all with the
> exact same file names as the x86 build. We do not have plans for an
> immediate release of the x64 version of the product, but how would I go
> about with reusing my current wxs files (for my current x86 build) for the
> x64 build? Do I have to use new GUIDs everywhere for the x64 components? If
> so, is there support in WiX version 3 that allows me to do sort of a
> conditional compilation and use GUID A for the x86 build and GUID B for the
> x64 build of one and the same component? Or should I use the same GUIDs for
> the x64 installer?
>   

The MSI doc recommends using different components for 64-bit packages, 
primarily in support of having both 32-bit and 64-bit packages installed 
on the same machine. The easiest way to do it with WiX is via 
preprocessor variables: Define your GUIDs as variables and then use 
<?ifdef?> to swap between 32 and 64 bitness. WiX v3 also has 
Package/@Platform to set the default bitness of components.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to