This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: 64 Bit Registry Search
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2009
12:23 AM
64 Bit Registry Search
Hello All,
My apologies - 3 threads in 3 days ... hopefully my last for a while.
Can someone explain what the tick box (Search the 64-Bit portion of registry does) in the system search wizard ? I looked in the help guides for the system search wizard and there is no mention of it there.
I have setup a search for a key in....
HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL.1\Setup
Of course this works without fail on 32 bit apps, however on a 64Bit server running a 64bit version of SQL Server, the search fails to find the key.
I am assuming because it doesn't access the 64 portion of registry even though I have this option ticked and the key definitely exists.
Should I be adding a different search for....
HKLM\Software\WOW6432Node\Microsoft\Microsoft SQL Server\MSSQL.1\Setup and ticking the 64-Portion tick box to get it to find the desired key.
I am 100% the key is there but trying to work out why the search doesnt find it. I do not wish to have to create separate 64 and 32 installation packages if I can help it.
Many Thanks in advance.....
My apologies - 3 threads in 3 days ... hopefully my last for a while.
Can someone explain what the tick box (Search the 64-Bit portion of registry does) in the system search wizard ? I looked in the help guides for the system search wizard and there is no mention of it there.
I have setup a search for a key in....
HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL.1\Setup
Of course this works without fail on 32 bit apps, however on a 64Bit server running a 64bit version of SQL Server, the search fails to find the key.
I am assuming because it doesn't access the 64 portion of registry even though I have this option ticked and the key definitely exists.
Should I be adding a different search for....
HKLM\Software\WOW6432Node\Microsoft\Microsoft SQL Server\MSSQL.1\Setup and ticking the 64-Portion tick box to get it to find the desired key.
I am 100% the key is there but trying to work out why the search doesnt find it. I do not wish to have to create separate 64 and 32 installation packages if I can help it.
Many Thanks in advance.....
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 25, 2009
02:16 AM
//This will cause all subsequent registry operations to access the 64-bit section
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; //for 64 bit support,addthis line before you call any registry related API
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY; //to revert to 32-bit, add this line after calling the Registry API
Hope this will help you.it's working for me. I've a songle setup which supports both 32 and 64 bit.
------------------------------------------------------------------------
-Mrunmayee
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; //for 64 bit support,addthis line before you call any registry related API
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY; //to revert to 32-bit, add this line after calling the Registry API
Hope this will help you.it's working for me. I've a songle setup which supports both 32 and 64 bit.
------------------------------------------------------------------------
-Mrunmayee
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
07:13 PM
So your suggesting I add "SET PROPERTY" custom actions for the REGDB_OPTIONS property both before and after the AppSearch or RMCCPSearch routines in the User Interface sequence ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
12:58 AM
Is your installer is 64Bit installer?
If you need to search for 64Bit branch (HKEYLM\Software) then the search path should be HKEYLM\Software with the checkbox checked.
You can post your verbose log, so that we can figure out whats going on ther..
If you need to search for 64Bit branch (HKEYLM\Software) then the search path should be HKEYLM\Software with the checkbox checked.
You can post your verbose log, so that we can figure out whats going on ther..
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
06:30 AM
Hello Swilks,
What i meant is you can add below two lines of code in installscript functions
//This will cause all subsequent registry operations to access the 64-bit section
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; //for 64 bit support,addthis line before you call any registry related API in installscript
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY; //to revert to 32-bit, add this line after calling the Registry API in installscript.
Instead of using system search, you can write script to check the registry.
--Mrunmayee
What i meant is you can add below two lines of code in installscript functions
//This will cause all subsequent registry operations to access the 64-bit section
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY; //for 64 bit support,addthis line before you call any registry related API in installscript
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY; //to revert to 32-bit, add this line after calling the Registry API in installscript.
Instead of using system search, you can write script to check the registry.
--Mrunmayee
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 01, 2009
10:27 PM
Thanks that helped solve my issue.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2010
04:21 AM
HI,
I have a similar issue .We had a 32 bit dll till last month and we supported only 32 bit OS.Now with Windows 7 coming with 64 bit,we have been asked to change the setup to accomodate both 64 bit and 32 bit.
I have the 64 bit dll ready.When i do a self register on this component,it sits under sw/WOW6432node/microsoft/offfice/excel/addins.I want it to come under the sw/microsoft/offfice/excel/addins .How can i do the same?
Saw ur post that u have achieved it in sngle installer.Please help.I have just few hrs to come up with solution.
Thanks
Amitha
I have a similar issue .We had a 32 bit dll till last month and we supported only 32 bit OS.Now with Windows 7 coming with 64 bit,we have been asked to change the setup to accomodate both 64 bit and 32 bit.
I have the 64 bit dll ready.When i do a self register on this component,it sits under sw/WOW6432node/microsoft/offfice/excel/addins.I want it to come under the sw/microsoft/offfice/excel/addins .How can i do the same?
Saw ur post that u have achieved it in sngle installer.Please help.I have just few hrs to come up with solution.
Thanks
Amitha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2010
03:25 PM
In Australia so just go to this post now given time zones..
Our application is only 32bit. I was wanting to read both sections of the registry in a system search hence our issues were a little different. Not sure I can shed any light on your issue.
Our application is only 32bit. I was wanting to read both sections of the registry in a system search hence our issues were a little different. Not sure I can shed any light on your issue.