From cc9cb24a154244dc79874f7f2be6048aa9a6acc4 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Mon, 10 Oct 2016 23:52:20 +0200 Subject: Packaging: WiX installer - cut down final .msi installer size by 30% (by using best possible LZX compression instead of MSZip) - small README update (bzr r15244.1.7) --- packaging/wix/README | 19 +++++++++++-------- packaging/wix/inkscape.wxs | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/packaging/wix/README b/packaging/wix/README index f40e104e7..606e7b376 100644 --- a/packaging/wix/README +++ b/packaging/wix/README @@ -1,18 +1,18 @@ howto create windows msi installer you need: -1. windows installer XML installed and callable from your path +1. WiX Toolset (aka Windows Installer XML) get it from http://wixtoolset.org/ - Because of a bug in the current version of wix the installer works using version 3.7 only. + (3.10 works fine at the time of this writing) build the installer 1. build inkscape 2. open command shell "cmd" 3. change current directory to inkscape\packaging\wix -4. set environment variables - wixenv.bat -5. create installer using batch - install.bat +4. set environment variables using + wixenv.bat (adjust paths in the file if necessary!) +5. create installer using + install.bat when completed there should be inkscape.msi in your path @@ -21,5 +21,8 @@ things still todo - better filenames (nightly builds versus releases) - howto remove python .pyc files after deinstallation - localisation into the installer - -theAdib + +helpful tips +- set CompressionLevel="none" in inkscape.wxs + while experimenting with installer creation + (results in huge installer but much faster compilation times) \ No newline at end of file diff --git a/packaging/wix/inkscape.wxs b/packaging/wix/inkscape.wxs index 0f1e9f2b9..4766ec717 100644 --- a/packaging/wix/inkscape.wxs +++ b/packaging/wix/inkscape.wxs @@ -7,7 +7,7 @@ - + -- cgit v1.2.3