From e2048d327800f93d6d5b647a7b0c2ff2abc5e93b Mon Sep 17 00:00:00 2001
From: Thanos Doukoudakis <thanos.doukoudakis@isode.com>
Date: Mon, 29 Jan 2018 16:50:32 +0000
Subject: Change the program name of the windows installer

During the UAC dialog in windows, the program name appears to have a
random value. This patch will make it use "Swift Installer" instead.

Test-Information:

Tested the changes during installation and uninstallation on Windows 7 (64
bit) and Windows 10 (64 bit)

Change-Id: I001ed9e644b123f62b9168115ce06803d2b4bd20

diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 112a66e..54f0450 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -497,7 +497,7 @@ if env["PLATFORM"] == "win32" :
                     signresult = 0
                     for x in range (1, 4) :
                         print "Attemping to sign the packages [%s]" % x
-                        signresult = env.Execute('signtool.exe sign /fd SHA256 /f "${SIGNTOOL_KEY_PFX}" /t "${SIGNTOOL_TIMESTAMP_URL}" ' + str(target[0]))
+                        signresult = env.Execute('signtool.exe sign /fd SHA256 /f "${SIGNTOOL_KEY_PFX}" /t "${SIGNTOOL_TIMESTAMP_URL}" /d "Swift Installer" ' + str(target[0]))
                         if signresult != 1 :
                             break
                     #If all 3 attemps to sign the package failed, stop the build.
-- 
cgit v0.10.2-6-g49f6