Prev Previous Post   Next Post Next
Old 31st March 2006, 16:09   #1
coco_vc
Senior Member
 
Join Date: Jan 2006
Location: Germany
Posts: 138
Uninstall section - removing files

Hi *,

I used some wizards to generate a basic installer that just copies 3 files on the destination computer. I noticed that in the uninstall section is:
code:

Delete "$INSTDIR\sample1.exe"
Delete "$INSTDIR\sample2.exe"
Delete "$INSTDIR\sample3.exe"



Why would I need something like this (3 times the Delete command) and not having in the uninstall section just:
code:

RMDir /REBOOTOK "$INSTDIR"



Otherwise if I have 20 files that I need to copy when install, and to remove when uninstall, I would need 20 times the File command and 20 times the Delete command, for the same files, instead of 1 RMDir only in uninstall case. Or am I totally wrong/missing smth here?

Thanks,
Viv
coco_vc is offline   Reply With Quote
 
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