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
- :
- Cannot create registry entry low in subnode hierarchy
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jan 28, 2015
04:02 PM
Cannot create registry entry low in subnode hierarchy
I need to create an old-fashioned DSN on the destination machine. That means I need to put the following keys in the ODBC section of the registry:
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - KeyForMyDSNNameGoesHere
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - ODBCDataSources - ValueOfMyDSNNameGoesHere
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - MyDSNName - KeyForMyDSNNameGoesHere - ValuesOfMyDSNDetailsGoHere
Using InstallShield LE, I don't seem to be able to put entries very far down into the hierarchy.
If I put a test key directly under SOFTWARE (32-Bit), as in HKLM - SOFTWARE (32 Bit), it works fine.
But if I put a test key in a subnode, such as HKLM - SOFTWARE (32-Bit) - Software, or lower in the tree, it does not create the registry entry.
There is no error when I build the Setup project, and no error during the running of setup.exe for installation.
Is putting registry entries in subnodes of existing keys not supported? Or am I doing something wrong.
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - KeyForMyDSNNameGoesHere
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - ODBCDataSources - ValueOfMyDSNNameGoesHere
HKLM - Software - Wow6432Node - ODBC - ODBC.INI - MyDSNName - KeyForMyDSNNameGoesHere - ValuesOfMyDSNDetailsGoHere
Using InstallShield LE, I don't seem to be able to put entries very far down into the hierarchy.
If I put a test key directly under SOFTWARE (32-Bit), as in HKLM - SOFTWARE (32 Bit), it works fine.
But if I put a test key in a subnode, such as HKLM - SOFTWARE (32-Bit) - Software, or lower in the tree, it does not create the registry entry.
There is no error when I build the Setup project, and no error during the running of setup.exe for installation.
Is putting registry entries in subnodes of existing keys not supported? Or am I doing something wrong.
(1) Reply
Jan 30, 2015
08:45 AM
I was able to create a registry key in the location without an issue with LE.
I would maybe double check to make sure that you have "cascading" folders to make sure that the key is being put in the right place
should look similar to this:
HKEY_LOCAL_MACHINE
And not like this (wrong location)
HKEY_LOCAL_MACHINE
I would maybe double check to make sure that you have "cascading" folders to make sure that the key is being put in the right place
should look similar to this:
HKEY_LOCAL_MACHINE
- SOFTWARE (32-BIT)
-Wow6432Node
-ODBC
-ODBC.INI (key entry)
And not like this (wrong location)
HKEY_LOCAL_MACHINE
- SOFTWARE (32-BIT)
-Wow6432Node
-ODBC
-ODBC.INI (key entry)