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: Getting Registrer values!
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
‎Sep 17, 2008
08:07 AM
Getting Registrer values!
Hi All,
I would like to get the Value in the register HKEY_USERS\.DEFAULT\Control Panel\International
"Slanguage" KEY in Install script
How to accomplish this!
Regards
Jayakumar Natarajan
Ever Tried Ever Failed No Matter,Try Again Fail Again Fail Better!
I would like to get the Value in the register HKEY_USERS\.DEFAULT\Control Panel\International
"Slanguage" KEY in Install script
How to accomplish this!
Regards
Jayakumar Natarajan
Ever Tried Ever Failed No Matter,Try Again Fail Again Fail Better!
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
08:30 AM
Try this:
NUMBER nResult;
NUMBER nvType;
NUMBER nvSize;
STRING szKey;
STRING szName;
STRING szValue;
szKey = '.DEFAULT\\Control Panel\\International';
szName = 'sLanguage';
szValue = 'ENU'; // Or whatever value you are trying to set it to.
nvType = REGDB_STRING;
nResult = RegDBSetDefaultRoot(HKEY_USERS);
nResult = RegDBSetKeyValueEx(szKey, szName, nvType, szValue, nvSize);
NUMBER nResult;
NUMBER nvType;
NUMBER nvSize;
STRING szKey;
STRING szName;
STRING szValue;
szKey = '.DEFAULT\\Control Panel\\International';
szName = 'sLanguage';
szValue = 'ENU'; // Or whatever value you are trying to set it to.
nvType = REGDB_STRING;
nResult = RegDBSetDefaultRoot(HKEY_USERS);
nResult = RegDBSetKeyValueEx(szKey, szName, nvType, szValue, nvSize);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
08:42 AM
Thank you Very much !
Regards,
Jayakumar Natarajan
Regards,
Jayakumar Natarajan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
08:51 AM
Please see the help topic and code example for RegDBGetKeyValueEx.