summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-08-02 14:22:43 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-08-03 09:38:23 (GMT)
commitcc83a29121707f51a7eb8ff11c7eee7a7a575acf (patch)
tree6b83f9ebed26e27050b4a45a991ddfbf3cf4decf /DEVELOPMENT.md
parent331c6d2570b76f126491e9c955963879c5a76a54 (diff)
downloadswift-cc83a29121707f51a7eb8ff11c7eee7a7a575acf.zip
swift-cc83a29121707f51a7eb8ff11c7eee7a7a575acf.tar.bz2
Add support for signing the resulting MSI installer on Windows
Test-Information: Created a custom CA and added it as trusted to the system. Created a signing certificate and passed it to scons as described. The resulting installer does not show a red UAC dialog anymore during installation. Instead the publisher from the certificate is shown in a blue UAC dialog. Change-Id: Ie4043520f6d45ec2e7aad712441a928cb423b0de
Diffstat (limited to 'DEVELOPMENT.md')
-rw-r--r--DEVELOPMENT.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index 2447853..2b8ca99 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -59,6 +59,9 @@ scons
scons dist=1
```
+To sign the resulting MSI file, append the `signtool_key_pfx` and `signtool_timestamp_url` parameters to the `scons dist=1` programm call, e.g.
+`scons dist=1 signtool_key_pfx=C:\Users\Swift\SwiftSPC.pfx signtool_timestamp_url=http://timestamp.verisign.com/scripts/timstamp.dll`.
+
Notes:
- The settings `debug = 1` and `optimize = 1` are **strictly required** if you use a precompiled Qt release from the Qt Project; otherwise you will get linker errors
- On 64-bit Windows it's "Program Files (x86)" instead of "Program Files" in the