cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jayakumarn
Level 5

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!
Labels (1)
0 Kudos
(3) Replies
jwelliott
Level 2

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);
0 Kudos
jayakumarn
Level 5

Thank you Very much !

Regards,
Jayakumar Natarajan
0 Kudos
RobertDickau
Flexera Alumni

Please see the help topic and code example for RegDBGetKeyValueEx.
0 Kudos