Not a bug, not even close to a bug. You're using an x86 package on an
x64 system.

Look for WIN64DUALFOLDERS in a verbose log (/l*vx). You'll see that's
what's changing the property.

If you want to access x64 specific locations like C:\Program
Files\Microsoft Help Viewer\v1.0\ on x64 systems you need to build an
x64 package. Your code will give you what you're expecting on an x86
system without a problem but WOW64 is intercepting it on x64 systems.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: Jimmie Eriksson [mailto:eriksson.jim...@gmail.com] 
Sent: 14 May 2010 15:42
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] RegistrySearch converts value data

Hi

Anyone who can tell me why my RegistrySearch converts the value
contained in the registry?

    <Property Id="HELPINSTALLDIR">
      <RegistrySearch Id='HelpInstallRegistry' Type='raw' Root='HKLM'
Key='SOFTWARE\Microsoft\Help\v1.0' Name='AppRoot' />
    </Property>

The actual value in registry is...
AppRoot = C:\Program Files\Microsoft Help Viewer\v1.0\

But according to the log file upon installation C:\Program
Files\Microsoft Help Viewer\v1.0\ converts into C:\Program Files
*(x86)*\Microsoft Help Viewer\v1.0\ when using it in a custom action

    <CustomAction Id="SetHELPInstaller" Return="check"
Execute="immediate"
Property="HELPInstaller" Value="[HELPINSTALLDIR]HelpLibManager.exe" />

from log..
MSI (s) (08:78) [16:20:59:102]: PROPERTY CHANGE: Adding HELPInstaller
property. Its value is 'C:\Program Files (x86)\Microsoft Help
Viewer\v1.0\HelpLibManager.exe'

The folder on disk: C:\Program Files\Microsoft Help Viewer\v1.0\

So this seems like a bug where all strings containing Program Files
found in registry converts to Program Files (x86)

/Jimmie
------------------------------------------------------------------------
------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to