copy the states db with the installer

This commit is contained in:
Mahmood - Zer0xFF 2022-02-18 23:11:41 +00:00
parent 612463ee3a
commit c7154cd8f4
2 changed files with 4 additions and 0 deletions

View file

@ -82,6 +82,7 @@ Section "Play! (required)"
File "..\Readme.html"
File "..\Changelog.html"
File "..\Patches.xml"
File "..\states.db"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\NSIS_Play "Install_Dir" "$INSTDIR"
@ -134,6 +135,7 @@ Section "Uninstall"
Delete $INSTDIR\Readme.html
Delete $INSTDIR\Changelog.html
Delete $INSTDIR\Patches.xml
Delete $INSTDIR\states.db
Delete $INSTDIR\uninstall.exe
; Remove directories used

View file

@ -83,6 +83,7 @@ Section "Play! (required)"
File "..\Readme.html"
File "..\Changelog.html"
File "..\Patches.xml"
File "..\states.db"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\NSIS_Play "Install_Dir" "$INSTDIR"
@ -137,6 +138,7 @@ Section "Uninstall"
Delete $INSTDIR\Readme.html
Delete $INSTDIR\Changelog.html
Delete $INSTDIR\Patches.xml
Delete $INSTDIR\states.db
Delete $INSTDIR\uninstall.exe
; Remove directories used