summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-08-23 14:42:53 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-08-23 14:42:53 +0000
commite6d39d68a2e04899b2537d6f33135306c507c0e7 (patch)
tree01e82676435bfd14acaa21954b1a5705bc4f2e02 /packaging
parentWhen dragging a knot along a constraint line, then allow snapping the positio... (diff)
downloadinkscape-e6d39d68a2e04899b2537d6f33135306c507c0e7.tar.gz
inkscape-e6d39d68a2e04899b2537d6f33135306c507c0e7.zip
move inkscape.nsi to packaging/win32
(bzr r8524)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win32/inkscape.nsi8
1 files changed, 7 insertions, 1 deletions
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}" ""