Archive: Add/Remove Programs Error


Add/Remove Programs Error
When Trying to remove an install using Add/Remove programs, I get:

"An error occurred while trying to remove.....
it may have already been uninstalled. Would you like to remove it?"

I click 'yes' and it is gone from there but the program files and start menu is still there.

Clicking Uninstall from the Start Menu works fine.

Whats the problem with the other though?


That error usually occurs when Add/Remove cannot find the uninstaller program. You should check that the right path and EXE file settings are written to the registry in the uninstall entry.

Vytautas


oooooooooooo
ok,

Makes sense. Actually I was writing it to the registry but as "Uninstal.exe" but I changed the actual name of the uninstaller file.

thanks.


Don't forget to quote it too, in case it has spaces. For example:

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" '"$INSTDIR\uninst-nsis.exe"'