Archive: Installing Files and Unistalling Files


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


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