From 838c6fceda92d460b45d6a856a3c8c9a63ac8b0e Mon Sep 17 00:00:00 2001 From: Adib Taraben Date: Thu, 22 Nov 2012 00:25:35 +0100 Subject: wix installer: assign svg file extension to inkscape (bzr r11891) --- packaging/wix/README | 1 - packaging/wix/files.py | 3 +++ packaging/wix/inkscape.wxs | 24 ++++++++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/packaging/wix/README b/packaging/wix/README index 1cb602057..2046797ca 100644 --- a/packaging/wix/README +++ b/packaging/wix/README @@ -18,7 +18,6 @@ when completed there should be inkscape.msi in your path things still todo - detailed explanation what to do for new revisions -- link .svg file names to inkscape - include some inkscapeish artwork - better filenames (nightly builds versus releases) - howto remove python .pyc files after deinstallation diff --git a/packaging/wix/files.py b/packaging/wix/files.py index a4cf180c3..93a7c8dd1 100644 --- a/packaging/wix/files.py +++ b/packaging/wix/files.py @@ -28,6 +28,9 @@ def directory(root, breadcrumb, level, exclude=[]): _id = '_%06d' % (len(file_ids.keys()) + 1) file_ids[file_key] = 'component' + _id wxs.write(indent(level)+ "\n") + if file == 'inkscape.exe': + # we refenrence inkscape.exe in inkscape.wxs + _id = '_inkscape_exe' wxs.write(indent(level + 1)+ "\n") wxs.write(indent(level)+ "\n") # then all directories diff --git a/packaging/wix/inkscape.wxs b/packaging/wix/inkscape.wxs index 215f34001..e2bc26462 100644 --- a/packaging/wix/inkscape.wxs +++ b/packaging/wix/inkscape.wxs @@ -32,6 +32,21 @@ + + + + + + + + + + + @@ -40,17 +55,26 @@ --> + + + + + + + -- cgit v1.2.3