Archive: INSTDIR - uninstall


INSTDIR - uninstall
i noticed a strange thing.
i have script that installs all files to "$INSTDIR\subdir".
the uninstaller is created in the same "subdir".

when i uninstall (i don't know why) "$INSTDIR\subdir" becomes "$INSTDIR".

ex.:
in the installer $INSTDIR = c:\bla
uninstall.exe = c:\bla\subdir
in the uninstaller $INSTDIR = c:\bla\subdir

is this normal ?

thanks, OJi.


Maybe some code snippet will help. As I can notice, $INSTDIR become $EXEDIR in the uninstaller operation.