[wix-users] [EXTERNAL] - Re: Is there any way around WIN64DUALFOLDERS substitution?

Lewis Henderson henderso at opentext.com
Wed Nov 8 06:25:54 PST 2017

Hi Carter,

Thanks for the response, but the app is 32-bit (still installable on a 64-bit system) and we wanted customers to be able to use either flavor of Java so they don't have to do a special 32-bit install of Java on a 64-bit system.

The problem case is exactly that - they don't have a 32-bit Java, but there is a suitable 64-bit Java installed.  The installer just can't find it since it's under the "Program Files" directory, and Windows Installer switches the path to "Program Files (x86)".  BTW, if the 64-bit Java installed somewhere besides "Program Files", things work just fine.


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Carter Young via wix-users
Sent: Tuesday, November 7, 2017 3:40 PM
To: wix-users at lists.wixtoolset.org
Cc: Carter Young <ecyoung at grandecom.net>
Subject: [EXTERNAL] - Re: [wix-users] Is there any way around WIN64DUALFOLDERS substitution?

Have you tried testing for the machine bitness first.  I.e something like:

If win.x64 then
    _search for 64 bit java_
If win.x32 then
    _search for 32 bit java_

using the XML conditions listed at:

Quoting Lewis Henderson via wix-users <wix-users at lists.wixtoolset.org>:

> Is there any way to somehow set the above mentioned "mask" argument to 
> 1 for a particular set of searches?  I know why Windows Installer is 
> trying to enforce this rule, but I'm not trying to install 32-bit code 
> in the "Program Files" tree, I'm just trying to find something that's 
> already installed there.  If anyone has a solution for this (other 
> than "install a 32-bit Java" or "install Java outside the 'Program 
> Files' tree", I'd greatly appreciate it.
> Thanks.
> Lewis Henderson
> OpenText, Inc.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_
> &d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53
> V282tTn1P4&m=mQMrlipn6g1Ummtm96HVIJ1q9aeZ29mGWPKnnArc-sA&s=r8Qj70e7Xvx
> 7G57Q6IANsXCH4b7TykjzTX7jQ1k72-I&e=

WiX Toolset Users Mailing List provided by FireGiant https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=mQMrlipn6g1Ummtm96HVIJ1q9aeZ29mGWPKnnArc-sA&s=r8Qj70e7Xvx7G57Q6IANsXCH4b7TykjzTX7jQ1k72-I&e=

More information about the wix-users mailing list