Archive: Proper uninstall


Proper uninstall??
There is a small problem with my current scriptfile at least in Windows 98.
If I select Control Panel - Add/Remove Programs - choose my program's name, click Add/Remove... then everything goes well and it removes the program, but after uninstallation dialog Windows returns to Add/Remove Programs Properties dialogbox and my program's name is still in the list, clicking to Add/Remove brings up Uninstaller's Error, which pronaunces, that this program could allready be uninstalled (which is true).

When I close Add/Remove programs properties and open it again, then program's name is gone from the list and everything is OK! And finally my question: how to remove program's name from uninstallables' list with uninstallation script?

Current version:


...
Section Uninstall
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Kahevoitlus"
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Kahevoitlus"
....

This post might give you the answer:
http://forums.winamp.com/showthread....ghlight=return

KiCHiK


thanx,

sorry for abusing forum rules (I tried to find the answer in older topics, but I didn't succeed).