View Single Post
Old 2nd July 2013, 06:53   #4
Major Dude
Join Date: Oct 2006
Posts: 1,892
You're probably using the $INSTDIR variable in your uninstaller. In the uninstaller, $INSTDIR contains simply the directory where uninstall.exe is located. So in essence, it's the same as $EXEDIR.

This is why you should always verify in un.oninit that uninstall.exe hasn't been moved to, say, c:\windows or something. You'd end up deleting the wrong files. I simply check for some marker files with specific filenames, and throw a warning if something seems wrong.
MSG is offline   Reply With Quote