What are you doing with HELPINSTALLERDIR? How are you consuming it? -----Original Message----- From: Jimmie Eriksson [mailto:eriksson.jim...@gmail.com] Sent: Sunday, May 16, 2010 3:51 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] RegistrySearch converts value data
No, but I do a registry search to find out where microsoft have their HelpLibManager.exe installed. <Property Id="HELPINSTALLDIR"> <RegistrySearch Id='HelpInstallRegistry' Type='raw' Root='HKLM' Key='SOFTWARE\Microsoft\Help\v1.0' Name='AppRoot' /> </Property> Then my thought was that the variable HELPINSTALLDIR after the registry search should map to "C:\Program Files\Microsoft Help Viewer\v1.0\" where it seems to be located both on win32 systems like WinXP and Win64 systems like Windows Vista 64-bit and Windows 7 64-bit. So in this case microsoft have both a 32-bit and a 64-bit version of their HelpLibManager.exe which they install depending on the target system and They tell me where on my disk it is installed by putting it in the registry which I then extract but then this WIN64DUALFOLDERS thingie overrides the value extracted from registry beliving to know better... Thats my problem... 2010/5/15 Blair <os...@live.com> > Do you have a directory named HELPINSTALLDIR? > > -----Original Message----- > From: Jimmie Eriksson [mailto:eriksson.jim...@gmail.com] > Sent: Friday, May 14, 2010 9:22 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] RegistrySearch converts value data > > Ok, so you're right about the win64dualfolders thingie.. > > WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters > in > 'C:\Program Files\Microsoft Help Viewer\v1.0\' folder path. (mask argument > = > 0, the folder pair's iSwapAttrib member = 0). > > But isn't it odd, depending on target system, it overrides my wish to > simply > read the registry value... I'm not intressted in getting overriden by the > system who thinks it knows better. > Can I again override the behavior.. I'm not intressted to support one > 32-bit > and another 64-bit installer. One installer is problem enough... > > The folder always seems to be > C:\Program Files\Microsoft Help Viewer\v1.0\ > on both 64- and 32-bit os > /Jimmie > > 2010/5/14 Pally Sandher <pally.sand...@iesve.com> > > > 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 > > > > ---------------------------------------------------------------------------- > -- > > _______________________________________________ > 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 ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users