Updated to version 1.0.1
This commit is contained in:
85
bijoux.nsi
Normal file
85
bijoux.nsi
Normal file
@@ -0,0 +1,85 @@
|
||||
# Bijoux NSIS Installer
|
||||
Name "PogoBijoux 1.0.1"
|
||||
OutFile "INSTBIJX.EXE"
|
||||
InstallDir "$PROGRAMFILES\PogoBijoux"
|
||||
|
||||
Icon data/install.ico
|
||||
|
||||
InstallDirRegKey HKLM "Software\PogoBijoux" "INSTDIR"
|
||||
|
||||
RequestExecutionLevel admin
|
||||
|
||||
Page Directory
|
||||
Page License
|
||||
Page InstFiles
|
||||
|
||||
UninstPage UninstConfirm
|
||||
UninstPage InstFiles
|
||||
|
||||
LicenseText "You must agree to the terms and conditions in order to install this software."
|
||||
LicenseData "LICENSE.TXT"
|
||||
|
||||
VIProductVersion "1.0.1.0"
|
||||
VIAddVersionKey "ProductName" "PogoBijoux"
|
||||
VIAddVersionKey "Comments" "Version 1.0.1 | released on 3/11/2023"
|
||||
VIAddVersionKey "CompanyName" "MCL Software"
|
||||
VIAddVersionKey "LegalCopyright" "Copyright (c) MCL Software 2020-2023"
|
||||
VIAddVersionKey "FileDescription" "Installer for PogoBijoux"
|
||||
VIAddVersionKey "FileVersion" "1.0.1"
|
||||
|
||||
Section "Install PogoBijoux"
|
||||
SetOutPath $INSTDIR
|
||||
File PogoBijoux.exe
|
||||
File LEVELS.TXT
|
||||
File LICENSE.TXT
|
||||
File README.TXT
|
||||
|
||||
File Irrlicht.dll
|
||||
File libgcc_s_dw2-1.dll
|
||||
File libwinpthread-1.dll
|
||||
File libsndfile-1.dll
|
||||
File libstdc++-6.dll
|
||||
File OpenAL32.dll
|
||||
|
||||
File /r audio
|
||||
File /r licenses
|
||||
File /r img
|
||||
File /r 3d
|
||||
File /r data
|
||||
|
||||
CreateShortCut "$DESKTOP\PogoBijoux 1.0.1.lnk" "$INSTDIR\PogoBijoux.exe" "" "" 0
|
||||
|
||||
WriteRegStr HKLM Software\PogoBijoux "INSTDIR" "$INSTDIR"
|
||||
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PogoBijoux" "DisplayName" "PogoBijoux"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PogoBijoux" "UninstallString" '"$INSTDIR\UNINST.EXE"'
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PogoBijoux" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PogoBijoux" "NoRepair" 1
|
||||
WriteUninstaller "UNINST.EXE"
|
||||
|
||||
Exec '"$WINDIR\NOTEPAD.EXE" "$INSTDIR\README.TXT"'
|
||||
|
||||
MessageBox MB_OK|MB_ICONINFORMATION "PogoBijoux has been installed! There should be a shortcut on your desktop now."
|
||||
MessageBox MB_OK|MB_ICONINFORMATION "Thank you for your interest in PogoBijoux and I really hope you enjoy the game."
|
||||
Quit
|
||||
SectionEnd
|
||||
|
||||
Section "Uninstall"
|
||||
MessageBox MB_YESNO|MB_ICONSTOP "WARNING! This will delete everything inside $INSTDIR!!! Would you like to continue? YOUR DATA WILL BE DESTROYED!!!" IDNO UnInstAborted
|
||||
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PogoBijoux"
|
||||
DeleteRegKey HKLM Software\PogoBijoux
|
||||
|
||||
RMDir /r "$INSTDIR"
|
||||
|
||||
Delete "$DESKTOP\PogoBijoux 1.0.1.lnk"
|
||||
Goto Over
|
||||
|
||||
UnInstAborted:
|
||||
MessageBox MB_OK|MB_ICONINFORMATION "Uninstall has been aborted. Don't worry, all your files are safe and nothing has been deleted! :)"
|
||||
Over:
|
||||
MessageBox MB_OK|MB_ICONINFORMATION "I hope you have an amazing rest of your day!"
|
||||
MessageBox MB_OK|MB_ICONINFORMATION "Bye!"
|
||||
|
||||
Quit
|
||||
SectionEnd
|
||||
Reference in New Issue
Block a user