Skip to content
⌘ NSIS Forum Archive

Installing Files and Unistalling Files

2 posts

Spyder25000#

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
PepaR#
You only refer to files which want inslall
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