PDA

View Full Version : help with



proman
02-24-2003, 02:51 PM
I'm trying to setup a registry key through a script.

The key will hold a multi string value. I tried the following command:

RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
RegDBSetKeyValueEx ( "SYSTEM\\CurrentControlSet\\Services\\Service" , "DependOnService" , REGDB_STRING_MULTI , "DkTknSvr",8 );

for some reason I run the script and it will not create the key.

Is there a trick to it?


Pierre

Joshua
02-24-2003, 02:52 PM
Pierre,

I would suggest retrieving the return values from these InstallScript functions. This may give some clue as to exactly why it's failing.