Old 10th February 2020, 10:18   #1
Freddykong
Junior Member
 
Join Date: Feb 2020
Posts: 1
Problem choosing custom path for unistaller

Hi, I would like to write a custom path for writing my uninstaller but the installer return an error when creating the uninstaller.
The path is outside the install directory.
Do we necessarily have to write the uninstaller inside the install directory ?
Thanking you
Freddykong is offline   Reply With Quote
Old 10th February 2020, 14:25   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,263
The installer does not care where you put it but the directory has to exist before you call WriteUninstaller.

Don't forget that $instdir in the uninstaller is the directory the uninstaller is in.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
uninstaller

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