Old 22nd December 2002, 23:04   #1
Tolwyn
Member
 
Join Date: Sep 2001
Posts: 86
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.
Attached Files
File Type: nsi 777avg_ga_train01.nsi (3.8 KB, 146 views)
Tolwyn is offline   Reply With Quote
Old 23rd December 2002, 13:51   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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).

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd December 2002, 16:05   #3
Tolwyn
Member
 
Join Date: Sep 2001
Posts: 86
Question Huh?

I even had a second cup of coffee before responding.

You've confused me.

I'm still unsure as to why the files aren't being removed upon uninstall?
Tolwyn is offline   Reply With Quote
Old 23rd December 2002, 16:20   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
$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

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd December 2002, 17:36   #5
Tolwyn
Member
 
Join Date: Sep 2001
Posts: 86
Ahhh.

I see what you're saying, now.
Wow. Same variable name, different meaning.
Err...
Perhaps change the uninstaller $instdir to:

$uinstdir

Tolwyn is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump