alan93
29th November 2003 03:41 UTC
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?
Vytautas
29th November 2003 05:56 UTC
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
alan93
29th November 2003 16:06 UTC
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.
kichik
29th November 2003 16:11 UTC
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"'