hi.. I am using RegDBDeleteKey function to delete a registry during uninstallation on x 64 target system but it fails to delete it and returns -1 value. any reason for it or other way of deleting the key.
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
delete registry entry
Started by
amit08
, Jul 16 2008 07:11
1 reply to this topic
Posted 16 July 2008 - 16:39
Did you set the REGDB_OPTIONS value for 64-bit registry work?
From the documentation::
To add options, combine one or more options using bitwise OR (|) operator as shown:
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY
To remove options, specify the option to remove using the bitwise AND (&) operator and the bitwise NOT (~) operator as shown:
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY
From the documentation::
To add options, combine one or more options using bitwise OR (|) operator as shown:
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY
To remove options, specify the option to remove using the bitwise AND (&) operator and the bitwise NOT (~) operator as shown:
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY