Commit Graph

20 Commits

Author SHA1 Message Date
Jussi Pakkanen b730ab6766 Always generate a new Product GUID. Closes #2485. [skip ci]
We are taking some shortcuts here. The WiX documentation says that you
should keep the Product GUID the same for "small and minor" upgrades
but change it for major ones. These are not defined in any way and a
change of version number might, or might not, warrant a guid
update. For simplicity we will always regenerate the Product GUID.

Again we find that naming things is difficult since "product" in
everyday language would mean "the application/library/software" and
all different versions of it. In MSI installer terminology it means
something vague between the two.

https://www.firegiant.com/wix/tutorial/upgrades-and-modularization/
2018-05-01 20:18:32 +03:00
Jon Turney 8958529a25 Fix flake8 'variable assigned value but unused' reports
$ flake8 | grep -E 'F841'
./run_unittests.py:1987:13: F841 local variable 'objc' is assigned to but never used
./run_unittests.py:1988:13: F841 local variable 'objcpp' is assigned to but never used
./mesonbuild/minit.py:272:5: F841 local variable 'uppercase_token' is assigned to but never used
./mesonbuild/minit.py:307:5: F841 local variable 'uppercase_token' is assigned to but never used
./mesonbuild/modules/unstable_icestorm.py:36:9: F841 local variable 'result' is assigned to but never used
./mesonbuild/modules/unstable_icestorm.py:78:9: F841 local variable 'up_target' is assigned to but never used
./mesonbuild/modules/unstable_icestorm.py:81:9: F841 local variable 'time_target' is assigned to but never used
./msi/createmsi.py:226:17: F841 local variable 'file_source' is assigned to but never used
2018-03-03 21:36:37 +00:00
Jon Turney 2f6ed47077 Fix various flake8 indentation reports
$ flake8 | grep -E '(E123|E127|E128)'
./run_unittests.py:1358:37: E127 continuation line over-indented for visual indent
./run_unittests.py:1360:37: E127 continuation line over-indented for visual indent
./mesonbuild/minit.py:311:66: E128 continuation line under-indented for visual indent
./mesonbuild/minit.py:312:66: E128 continuation line under-indented for visual indent
./mesonbuild/minit.py:313:66: E128 continuation line under-indented for visual indent
./mesonbuild/compilers/cpp.py:115:63: E127 continuation line over-indented for visual indent
./msi/createmsi.py:156:13: E123 closing bracket does not match indentation of opening bracket's line
./msi/createmsi.py:188:13: E123 closing bracket does not match indentation of opening bracket's line
2018-03-03 21:35:53 +00:00
Jussi Pakkanen e2a4cff76f Robustify msi creator script. 2018-02-24 19:43:29 +02:00
Jussi Pakkanen 22adda1617 Review fixes. 2017-11-21 23:29:06 +02:00
Jussi Pakkanen 5d51bc79c7 Replaced sys.executable use with the mesonlib equivalent. 2017-11-20 23:08:17 +02:00
Niklas Claesson 16aa40875e MSI: Find VC redistributable with python 32bit on windows 64bit 2017-10-11 00:09:27 +03:00
Jussi Pakkanen a3e655d20d Package the Visual C runtime. Closes #2417. 2017-10-07 18:01:19 +03:00
Jussi Pakkanen be0aa7fd74 Merge pull request #2357 from LukeShu/flake8
Bring into compliance with flake8
2017-09-22 21:33:34 +03:00
Luke Shumaker bb25260f00 flake8: Perform suggested whitespace/formatting changes
This only touches newlines, spaces, and (occaisionally) commas.  Anything
else is left for another commit.
2017-09-21 11:59:03 -04:00
Luke Shumaker e7d5b9dd8e fix file permissions on a couple of files 2017-09-20 14:02:57 -04:00
Niklas Claesson fcbefafa1f MSI: Improve python detection 2017-09-12 20:31:02 +03:00
Jussi Pakkanen 68ac9b7a0b Require installer version 5.0, which corresponds to Win 7 and up. 2017-09-10 21:42:45 +03:00
Jussi Pakkanen a2ef1dc23b Fix installer generation on 64 bit Windows. 2017-09-10 20:37:22 +03:00
Jussi Pakkanen d3fab4c965 Add installer option to not install Ninja. 2017-09-10 20:04:47 +03:00
Jussi Pakkanen 41805f1b31 Delete XML string manipulation code. 2017-09-10 18:17:36 +03:00
Jussi Pakkanen 048d941e95 Create WiX source file with the XML module rather than string manipulation. 2017-09-10 18:13:34 +03:00
Jussi Pakkanen d220683787 Create a proper 64 bit installer with WiX. 2017-08-28 00:04:20 +03:00
Jussi Pakkanen 858c1d4f30 Fix msi creation script to work on 64 bit Windows. 2017-08-27 21:06:23 +03:00
Jussi Pakkanen 2817fcf2f3 Add Python script that creates an MSI installer from a package created with cx_freeze. 2017-08-03 01:35:37 +03:00