Ah. I actually have some prerequisites that are MsiPackages and some that
are ExePackages.

So, for the MsiPackage case, if I setup an InstallCondition, and it resolves
to false, will the package be uninstalled? Is there any way to accomplish
what I'm after? (the 3rd party package *not* being uninstalled)

-----Original Message-----
From: Rob Mensching [mailto:[email protected]] 
Sent: Thursday, September 18, 2014 9:19 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] 32-bit vs 64-bit prerequisites and DetectCondition
and InstallCondition

MsiPackage doesn't have a DetectCondition. Burn knows how to correctly
detect MSI packages.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: Mark Frey [mailto:[email protected]] 
Sent: Thursday, September 18, 2014 6:39 PM
To: [email protected]
Subject: [WiX-users] 32-bit vs 64-bit prerequisites and DetectCondition and
InstallCondition

Here is what I want to accomplish:

I want to install my application and it's prerequisites in both a 32-bit and
64-bit version.
I have two msi files for my own product (myprod32.msi and myprod64.msi), and
two msi files for a 3rd party product (other32.msi and other64.msi).
I want to install the appropriate versions based on the bit-ness of the OS,
except in the case of Windows Vista where I always want to install the
32-bit versions.
I never want to uninstall the 3rd party product (the 32-bit version of that
product may be installed on a Windows 7 64-bit machine, I want to leave it
alone and install the 64-bit version as well).

Do I do everything in the DetectCondition attribute of MsiPackage and
fake-out burn to get the behavior I want?

For example (assumes version of 3rd party product I want is 2.0):

 <MsiPackage Id="Other32" ...
DetectCondition="(OtherVersion=2.0) OR (VersionNT64 AND VersionNT64 <>
v6.0)" />

<MsiPackage Id="Other64" ...
                DetectCondition="(OtherVersion=2.0) OR (NOT VersionNT64) OR
(VersionNT64 = v6.0)" />

Will Burn do anything I don't want it to do here since I'm essentially lying
about whether or not the prerequisite is already installed or not?

Thanks for any help,

-Mark



----------------------------------------------------------------------------
--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to