Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
- NSIS Script updated
  • Loading branch information
Cristian committed Sep 23, 2022
1 parent 4d9a93b commit b203035
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions NSIS/install.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,21 @@ Unicode true
!insertmacro MUI_LANGUAGE Italian

# =========== Install Section ===========
Section "BookShelf V. 1.0" BookShelf
Section "BookShelf V. 1.0.5" BookShelf

SetOutPath "$INSTDIR"
File "BookShelf-1.0.jar"
File "BookShelf-1.0.5.jar"
File "Updater-1.0.0.jar"
WriteUninstaller "$INSTDIR\Uninstall.exe" ; Create unistaller
SetOutPath "$desktop"
File "jre.msi"

CreateShortCut "$desktop\BookShelf.lnk" "$INSTDIR\BookShelf-1.0.jar"
CreateShortCut "$desktop\BookShelf.lnk" "$INSTDIR\BookShelf-1.0.5.jar"
SectionEnd

Section "Uninstall"
Delete "$INSTDIR\Uninstall.exe"
Delete "$INSTDIR\BookShelf-1.0.jar"
RMDir "$INSTDIR"
Delete "$INSTDIR\BookShelf-1.0.5.jar"
SectionEnd

LangString DESC_BookShelf ${LANG_ITALIAN} "Programma principale"
Expand Down

0 comments on commit b203035

Please sign in to comment.