Tolwyn
23rd December 2002 00:04 UTC
New Issue
Odd. I don't know why this isn't working, either. The uninstaller will not remove the Files in the $instdir\... folder. Attached is the script.
Also, is it possible, on the close of the readme (via shell open) to open yet another file with "shell open" ?
Thanks. Sorry this is so problematic.
kichik
23rd December 2002 14:51 UTC
The uninstaller's $INSTDIR is the directory it is located in. In your case, in the uninstaller, $INSTDIR is "$INSTDIR\missions\net\coop\777avg" (that last $INSTDIR is the $INSTDIR from the installer).
Tolwyn
23rd December 2002 17:05 UTC
Huh?
I even had a second cup of coffee before responding.
You've confused me. :weird:
I'm still unsure as to why the files aren't being removed upon uninstall?
kichik
23rd December 2002 17:20 UTC
$INSTDIR in the uninstaller is not the same $INSTDIR as in the uninstaller. $INSTDIR in the uninstaller is the directory in which the uninstaller resides. Therefore what you are trying to the delete in the uninstaller is not there. If for example the user installed your program to C:\avg then in the uninstaller you are trying to delete C:\avg\missions\net\coop\777avg\missions\net\coop\777avg\777avg_gnd-atck_train_01.*.
I hope you won't need a third cup of coffee :D
Tolwyn
23rd December 2002 18:36 UTC
Ahhh.
I see what you're saying, now.
Wow. Same variable name, different meaning.
Err...
Perhaps change the uninstaller $instdir to:
$uinstdir
:igor: