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
- :
- Help Needed
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎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
‎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
‎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..
‎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
‎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
‎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.