Old 26th January 2007, 08:22   #1
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
Unnistaller in subfolder $INSTDIR

Why didn't work a place unnistaller, when I want palce it to subfoler of $INSTDIR?

Quote:
SetOutPath "$INSTDIR\System"
WriteUninstaller "Odinstalovat.exe"
Thanks fo reply
PepaR is offline   Reply With Quote
Old 26th January 2007, 10:57   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
$INSTDIR is not saved anywhere. The uninstaller uses the directory from which is was executed as $INSTDIR. If you put it in a subdirectory, you can use un.GetParent in the uninstaller to get the parent directory.

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
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