The platform attribute is x64. Cheers Sean. -----Original Message----- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 08 March 2013 19:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] acces hklm from a current user installer
Then I assume you have Package/@Platform assigned as anything other than x86? @Win64 on the default RegistrySearch element instructs the search to look in the 64-bit registry when the value is 'yes'. When the value is 'no', the search looks in the 32-bit registry. The default value depends on the value of the Package/@Platform attribute: if the @Platform attribute value is 'x86', the default @Win64 attribute value is 'no'; otherwise, the default value is 'yes'. -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Friday, March 08, 2013 1:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] acces hklm from a current user installer Hi: I'm not using th util extension--this is just in msi as tandard! Cheers Sean. -----Original Message----- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 08 March 2013 19:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] acces hklm from a current user installer From the documentation... RegistrySearch Element (Util Extension) Attributes Name Type Description Required Win64 YesNoType<mk:@MSITStore:C:\Program%20Files%20(x86)\WiX%20Toolset%20v3.7\doc\WiX.chm::/html/util_xsd_simple_type_yesnotype.htm> Instructs the search to look in the 64-bit registry when the value is 'yes'. When the value is 'no', the search looks in the 32-bit registry. The default value is 'no'. -----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Friday, March 08, 2013 12:07 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] acces hklm from a current user installer Hi: The key definitely exists on my test system, exporting the key from the registry editor gives: [HKEY_LOCAL_MACHINE\SOFTWARE\Freedom Scientific\JAWS\14.0] The Target value exists underneath. If I author a custom action, this can open the top level "software\freedom scientific\jaws" key but carn't see anything underneath this. The package is being built for x64, so I'm assuming the RegistrySearch will use the 64-bit hive. Any help/info apeciated. Regards Sean. -----Original Message----- From: Gabriel Ivanes [mailto:g...@fastmail.net] Sent: 08 March 2013 15:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] acces hklm from a current user installer Hi, You're sure your key and value exist ? To me -2147287038 means : not exist Le %:Date:, Sean Farrow <sean.far...@seanfarrow.co.uk<mailto:sean.far...@seanfarrow.co.uk>> a écrit: > Hi, > I need to access the hklm key from a per-user install from a registry > search element My property looks like: > <Fragment> > <!--JAWS 14 exe path.--> > <Property Id="JAWS14PATH" Secure="yes"> > <RegistrySearch Id="JAWS14PATH" Root="HKLM" > Key="SOFTWARE\Freedom > Scientific\JAWS\14.0" Name="Target" Type="raw"/> > </Property> > The log looks a follows: > Action 20:40:11: AppSearch. Searching for installed applications > Action start 20:40:11: AppSearch. > AppSearch: Property: JAWS14PATH, Signature: JAWS14PATH MSI (c) (A0:84) > [20:40:11:112]: Note: 1: 2262 2: Signature 3: -2147287038 Do I need > escaped backslashes in strings? > Does anyone have any ideas how I can get this working? > Cheers > Sean. > ---------------------------------------------------------------------- > -------- Symantec Endpoint Protection 12 positioned as A LEADER in The > Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in > the endpoint security space. For insight on selecting the right > partner to tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users -- Sincèrement, Gabriel "I know no way of judging the future but by the past." Patrick Henry "You can never plan the future by the past." Edmund Burke ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users