Jump to content


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.
Photo

delete registry entry


1 reply to this topic

amit08

amit08
  • Full Members
  • 7 posts

Posted 16 July 2008 - 07:11

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

daengh

daengh
  • Full Members
  • 8 posts

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