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: Registry in Windows7 and Vista
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
Oct 08, 2009
01:43 PM
Registry in Windows7 and Vista
Hello my frends:..
I have a new problem and i hope your help.
My project is InstallScript MSI and i have code to create a registry key in the registry of de OS of the target computer, In XP I'm not have problem all is good, but when i setup my installer in OS Vista and Windows7 i have the error..
my code is as follow:
szKey = "\\SOFTWARE\\MAPDATA\\GEOBASE\\v1.1";
szNumName = "ProgDir";
nType = REGDB_STRING;
direct = INSTALLDIR;
szNumValue = direct;
if (RegDBSetKeyValueEx (szKey, szNumName, nType, szNumValue,-1) < 0)then
MessageBox ("Imposible crear clave en el registro del sistema, verifique los permisos de usuario", SEVERE);
abort;
endif;
my quetion is:
The RegDBSetKeyValueEx () function works the same on the following operating systems: WXP, WVista and W7 ????
Thanks
I have a new problem and i hope your help.
My project is InstallScript MSI and i have code to create a registry key in the registry of de OS of the target computer, In XP I'm not have problem all is good, but when i setup my installer in OS Vista and Windows7 i have the error..
my code is as follow:
szKey = "\\SOFTWARE\\MAPDATA\\GEOBASE\\v1.1";
szNumName = "ProgDir";
nType = REGDB_STRING;
direct = INSTALLDIR;
szNumValue = direct;
if (RegDBSetKeyValueEx (szKey, szNumName, nType, szNumValue,-1) < 0)then
MessageBox ("Imposible crear clave en el registro del sistema, verifique los permisos de usuario", SEVERE);
abort;
endif;
my quetion is:
The RegDBSetKeyValueEx () function works the same on the following operating systems: WXP, WVista and W7 ????
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 08, 2009
11:06 PM
Win7 and Vista does not allow to create or modify registry keys in some areas even if the user has admin rights. in XP you can do.
Check with the msdn for detailed information.
Check with the msdn for detailed information.
