Hi there, I'm experiencing a strange issue and was wondering if anyone had
some insight into it.
I have an installer package where all the components are 32-bit, but I must
nonetheless interact with 64-bit prerequisite software and install on a 64
bit platform.
Now, all I am trying to do at this point is read from the 64-bit registry
hive with the help of AppSearch and RegLocator, so that I can determine what
folder the prerequisite software is in. I updated the Reglocator.Type
column for this entry to 16, to indicate misdbLocatorTypeDirectory and
msidbLocatorType64bit. However, in the subsequent log, I see that the
property linked to this row is not being set, even though this registry
exists.
Now when I change the Reglocator.Type column to 18 (msidbLocatorTypeRawValue
and msidbLocatorTypeDirectory) I see that this is set but then something
called WIN64DUALFOLDERS kicks in and changes the value. This makes it plain
what happened in the first case; it found the value in the registry, C:\Program
Files\MyFolder\MyProgram.exe and then WIN64DUALFOLDERS changes it to
C:\*Program
Files (x86)*\MyFolder\MyProgram.exe. Then Windows installer attempts to
confirm that the folder exists and since it doesn't under the new name, it
won't set the property (It really should log the reason it doesn't set it,
but that's something to take up with the MSI folks I guess).
So my question is, how do I stop WIN64DUALFOLDERS from working in this
case? I'm using MSI 3.1, if that makes any difference? I've seen people
say that you can select this if the component is marked as 64-bit, but in
this case I'm using reglocator which does not seem to allow for that
distinction.
Thanks,
:Duan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users