In your conditions you probably want to use VersionNT64, not anything from the
preprocessor.
The ?if…? is used to include/exclude WiX source code from your MSI/Bundle
entirely.
Blair
From: StevenOgilvie
Sent: Monday, January 27, 2014 7:27 AM
To: General discussion for
Blair/Rob
is this statement correct:
So are you saying I should use:
?if $(sys.BUILDARCH) = x64 ? and NOT ?if $(var.Platform) = x64 ?
What about my wixlib where I have 2 files that have a 32 bit version and a
64 bit version what is the proper way to say
32 bit file install on a 32 bit OS and
/64 bit MSI using 1
product.wxs file [P]
Classification: Public
So are you saying I should use:
?if $(sys.BUILDARCH) = x64 ? and NOT ?if $(var.Platform) = x64 ?
What about my wixlib where I have 2 files that have a 32 bit version and a 64
bit version what is the proper way to say
32 bit file
Classification: Public
So are you saying I should use:
?if $(sys.BUILDARCH) = x64 ? and NOT ?if $(var.Platform) = x64 ?
What about my wixlib where I have 2 files that have a 32 bit version and a 64
bit version what is the proper way to say
32 bit file install on a 32 bit OS and 64 bit file
-
From: Steven Ogilvie [mailto:steven.ogil...@titus.com]
Sent: January-22-14 6:17 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Confused... when installing a 32/64 bit MSI using 1
product.wxs file [P]
Classification: Public
Sigh... thanks Carter!
Just learning
sys.BUILDARCH is the value of the -arch argument to candle, which Votive sets
to the Platform property of the project during build (so it will reflect the
build configuration, and if you build two MSIs with the same project will
probably be different values for each one). It has NOTHING to do
Classification: Public
Yes it was a pain in the a$$ to maintain two product.wxs files for the same
project. Blending them to one file has made work so much easier.
I have the configuration set in the wix project file to handle whether it is an
x86 debug/release or x64 debug/release build.
The
Read my First Reply:
$(sys.BUILDARCH) should be used when determining Build time Components
on the DEVELOPER MACHINE
$(var.Platform) should be used to determine the TARGET MACHINE'S
bitness. Your having a tough time here because $(sys.BUILDARCH) is
always equal to $(var.Platform) on the
Classification: Public
Sigh... thanks Carter!
Just learning on how to read properly!!
Steve
-Original Message-
From: Carter Young [mailto:ecyo...@grandecom.net]
Sent: January-22-14 5:59 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Confused... when installing a 32/64
9 matches
Mail list logo