What happens if you specify %PROGRAMFILES%? It always maps to C:\Program Files.
 
> Date: Sun, 16 May 2010 19:07:32 +0200
> From: eriksson.jim...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] RegistrySearch converts value data
> 
> Can you explain the StringTools solution?
> 
> 2010/5/14 Matt Johnson <ma...@timeamerica.com>
> 
> > Not sure why. I had the same problem. I used the StringTools custom
> > action from the msiext project to take the " (x86) back out. If there's an
> > easier way, I'd be glad to know.
> >
> > BTW - I checked that specific key, and it is indeed just "Program Files",
> > in both the regular x64 root and the wow x86 key - so it's not that it's
> > pulling from the wrong place.
> >
> > Perhaps there's a property to set to tell MSI not to do this replacement?
> >
> > Matt Johnson MCPD, MCTS, MCSD, MCDBA
> > Director of Application Development
> > Time America, Inc.
> > ma...@timeamerica.com | www.timeamerica.com
> >
> >
> > -----Original Message-----
> > From: Jimmie Eriksson [mailto:eriksson.jim...@gmail.com]
> > Sent: Friday, May 14, 2010 7:42 AM
> > 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
> >
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
_________________________________________________________________
Hotmail i mobilen på 5 sekunder!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
------------------------------------------------------------------------------

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

Reply via email to