|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Posts: 2
|
Uninstaller won't work
Hi, I'm relatively new to NSIS. I'm creating an installer for a mod for the game Dawn of War, but when I run the uninstaller which is created by my installer only the shortcuts are removed and all the main files aren't.
I've attatched the code, any help would be thankfully recieved. |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
r switch with rmdir and file
If the /r switch is used, matching files are recursively searched for in subdirectories. If a directory name matches, all of its contents is added recursively. Directory structure is preserved.
You don't have to specify each file! Before RMDir You have to type SetOutPath as well! take look in manual about rmdir and file |
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2005
Posts: 2
|
Thanks for your help! Sorry if I've wasted anyone's time, I looked through the documentation but didn't really know what to look for!
|
|
|
|
|
|
#4 | |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Re: r switch with rmdir and file
Quote:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
The working directory might be set to $INSTDIR which is why RMDir /r $INSTDIR would not work (if this is the case).
Thus you should use SetOutPath $TEMP first. -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|