pesterchum/pesterchum-update.nsi

48 lines
980 B
Text
Raw Normal View History

2011-02-14 01:28:25 -05:00
; The name of the installer
2011-11-28 23:13:56 -05:00
Name "PESTERCHUM3.41"
2011-02-14 01:28:25 -05:00
; The file to write
2011-11-28 23:13:56 -05:00
OutFile "pesterchum3.41.update.exe"
2011-02-14 01:28:25 -05:00
RequestExecutionLevel admin
Page components
Page instfiles
; The stuff to install
Section "Pesterchum"
SectionIn RO
ReadRegStr $INSTDIR HKLM "SOFTWARE\Pesterchum" "Install_Dir"
StrCmp $INSTDIR "" error
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
File /r themes
File /r smilies
2011-11-30 22:36:27 -05:00
File /r quirks
File README.mkdn
File CHANGELOG.mkdn
File version.py
2011-02-14 01:28:25 -05:00
File pesterchum.exe
2011-11-30 22:36:27 -05:00
File pesterchum.exe.manifest
Rename $INSTDIR\README.mkdn $INSTDIR\readme.txt
Rename $INSTDIR\CHANGELOG.mkdn $INSTDIR\changelog.txt
2011-02-14 01:28:25 -05:00
Delete "$SMPROGRAMS\Pesterchum\Pesterchum.lnk"
CreateShortcut "$SMPROGRAMS\Pesterchum\Pesterchum.lnk" "$INSTDIR\pesterchum.exe"
Goto done
error:
MessageBox MB_OK "Pesterchum not found on this machine!"
done:
SectionEnd