|
|
@ -3,10 +3,10 @@ Unicode True
|
|
|
|
RequestExecutionLevel user
|
|
|
|
RequestExecutionLevel user
|
|
|
|
SetCompressor /SOLID lzma
|
|
|
|
SetCompressor /SOLID lzma
|
|
|
|
|
|
|
|
|
|
|
|
!define MUI_PRODUCT "Dino"
|
|
|
|
!define MUI_PRODUCT "Dino+"
|
|
|
|
!define MUI_PRODUCT_NAME ${MUI_PRODUCT}
|
|
|
|
!define MUI_PRODUCT_NAME ${MUI_PRODUCT}
|
|
|
|
!define MUI_BRANDINGTEXT ${MUI_PRODUCT}
|
|
|
|
!define MUI_BRANDINGTEXT ${MUI_PRODUCT}
|
|
|
|
!define PRODUCT_WEBSITE "https://dino.im"
|
|
|
|
!define PRODUCT_WEBSITE "https://github.com/mxlgv/dino"
|
|
|
|
!define MUI_ICON "win64-dist/dino.ico"
|
|
|
|
!define MUI_ICON "win64-dist/dino.ico"
|
|
|
|
!define ICON "win64-dist/dino.ico"
|
|
|
|
!define ICON "win64-dist/dino.ico"
|
|
|
|
!define MUI_COMPONENTSPAGE_NODESC
|
|
|
|
!define MUI_COMPONENTSPAGE_NODESC
|
|
|
@ -18,7 +18,7 @@ SetCompressor /SOLID lzma
|
|
|
|
!include "english.nsh"
|
|
|
|
!include "english.nsh"
|
|
|
|
|
|
|
|
|
|
|
|
Name ${MUI_PRODUCT}
|
|
|
|
Name ${MUI_PRODUCT}
|
|
|
|
BrandingText "Communicating happiness"
|
|
|
|
BrandingText "Dino+, a modern XMPP/Jabber client"
|
|
|
|
|
|
|
|
|
|
|
|
# define installer name
|
|
|
|
# define installer name
|
|
|
|
OutFile "dino-installer.exe"
|
|
|
|
OutFile "dino-installer.exe"
|
|
|
@ -35,15 +35,21 @@ File /r win64-dist\*.*
|
|
|
|
# define uninstaller name
|
|
|
|
# define uninstaller name
|
|
|
|
WriteUninstaller $INSTDIR\uninstaller.exe
|
|
|
|
WriteUninstaller $INSTDIR\uninstaller.exe
|
|
|
|
|
|
|
|
|
|
|
|
# Create a shortcut for startmenu
|
|
|
|
# Create Dino shortcuts macro
|
|
|
|
|
|
|
|
!macro CreateDinoShortcut Path
|
|
|
|
|
|
|
|
CreateShortCut "${Path}\Dino+.lnk" "$INSTDIR\bin\dino.exe" "" "$INSTDIR\dino.ico"
|
|
|
|
|
|
|
|
CreateShortCut "${Path}\Dino+ (debug).lnk" "$WINDIR\system32\cmd.exe" '/c set G_MESSAGES_DEBUG=all&&"$INSTDIR\bin\dino-with-console.exe"' "$INSTDIR\dino.ico"
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Create shortcuts for startmenu
|
|
|
|
CreateDirectory "$SMPROGRAMS\Dino"
|
|
|
|
CreateDirectory "$SMPROGRAMS\Dino"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\Dino.lnk" "$INSTDIR\bin\dino.exe" "" "$INSTDIR\dino.ico"
|
|
|
|
!insertmacro CreateDinoShortcut "$SMPROGRAMS\Dino"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\Uninstaller.lnk" "$INSTDIR\uninstaller.exe"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\Uninstaller.lnk" "$INSTDIR\uninstaller.exe"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\License.lnk" "notepad.exe" "$INSTDIR\LICENSE"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\License.lnk" "notepad.exe" "$INSTDIR\LICENSE"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\Dino website.lnk" "https://dino.im" "" "$INSTDIR\dino.ico"
|
|
|
|
CreateShortcut "$SMPROGRAMS\Dino\Dino+ website.lnk" "https://github.com/mxlgv/dino" "" "$INSTDIR\dino.ico"
|
|
|
|
|
|
|
|
|
|
|
|
# Create a shortcut for desktop
|
|
|
|
# Create a shortcuts for desktop
|
|
|
|
CreateShortCut "$DESKTOP\Dino.lnk" "$INSTDIR\bin\dino.exe" "" "$INSTDIR\dino.ico"
|
|
|
|
!insertmacro CreateDinoShortcut "$DESKTOP"
|
|
|
|
|
|
|
|
|
|
|
|
# set application ID
|
|
|
|
# set application ID
|
|
|
|
# No "ApplicationID" plugin for NSIS MINGW64
|
|
|
|
# No "ApplicationID" plugin for NSIS MINGW64
|
|
|
|