I have searched the list on the use of DetectCondition and InstallCondition
and my head is spinning a little bit.

 

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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to