X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=packaging%2Fwin32%2Finkscape.nsi;h=b163635d0c993b1083b78eb8db1405b2ccb03fc1;hb=a4957d90207ff059e7874e1194f7e26a80adee4f;hp=e6360a9dae475ca70e9a6ef5ea7ba61007d9cdfb;hpb=b7447d3e7c77718d7da174d9992fd42a3efcbf33;p=inkscape.git diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi index e6360a9da..b163635d0 100644 --- a/packaging/win32/inkscape.nsi +++ b/packaging/win32/inkscape.nsi @@ -8,6 +8,7 @@ ; ####################################### !define PRODUCT_NAME "Inkscape" !define PRODUCT_VERSION "0.46+devel" +!define PRODUCT_REVISION 1 !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\inkscape.exe" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" ;!define DUMMYINSTALL ; Define this to make it build quickly, not including any of the files or code in the sections, for quick testing of features of the installer and development thereof. @@ -17,6 +18,7 @@ ; ####################################### ; MUI 1.67 compatible ------ SetCompressor /SOLID lzma +SetCompressorDictSize 32 RequestExecutionLevel highest !include "MUI.nsh" !include "LogicLib.nsh" @@ -117,7 +119,11 @@ ReserveFile "${NSISDIR}\Plugins\UserInfo.dll" Name "${PRODUCT_NAME}" Caption "$(lng_Caption)" BrandingText "$(lng_Caption)" -OutFile "Inkscape-${PRODUCT_VERSION}-1.win32.exe" +!ifndef PRODUCT_REVISION +OutFile "Inkscape-${PRODUCT_VERSION}.exe" +!else +OutFile "Inkscape-${PRODUCT_VERSION}-${PRODUCT_REVISION}.exe" +!endif InstallDir "$PROGRAMFILES\Inkscape" InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""