Old 26th January 2007, 06:14   #1
Spyder25000
Junior Member
 
Join Date: Dec 2006
Posts: 11
Installing Files and Unistalling Files

Okay i am making a installer for a mod for a game
1) how do i add files to the installer
2) how do i make the unistaller unistall the files
Spyder25000 is offline   Reply With Quote
Old 26th January 2007, 08:35   #2
PepaR
Junior Member
 
Join Date: Jan 2007
Posts: 12
You only refer to files which want inslall
Quote:
Section "Čáry" SecCary
SectionIn RO
SetOutPath "$INSTDIR"
WriteUninstaller "Unistaller.exe"

SetOutPath "$INSTDIR\Cary"
File "${NSISDIR}\My files\*.lin"
SectionEnd
;--------------------------------
;Uninstaller Section

Section "Uninstall"
Delete "$INSTDIR\Cary\*.lin"
Delete "$INSTDIR\Unistaller.exe"
RMDir /r "$INSTDIR"
SectionEnd
For
PepaR 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