PDA

View Full Version : Uninstalling Registry Items



badboyz
11-19-2004, 06:12 AM
I created an Installshield

//Set up Registry Keys Root
RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
szKey = "SOFTWARE\\" + "JavaSoft\\" + "Prefs\\" + "myapp\\" + "name\\";
RegDBCreateKeyEx( szKey, "" );


I have four keys written to the above node during Installation. On launching my program, it reads the bundled dataset and writes the installation date for each data item to the above node.

During uninstallation of Installshield, the program-written registry item are not removed. Is there a way of getting Installshield to remove them as well?

Thanks in anticipation.



Is it possible to have Installshield uninstall every Registry item in a path created during Installshield build.

RobertDickau
11-29-2004, 12:41 PM
If nothing else, you could call RegDBDeleteKey during uninstallation...