Use own certificate for windows installer signing.

This commit is contained in:
Bastian Kleineidam 2012-11-19 19:06:24 +01:00
parent 650e6fdc94
commit a12a5adb35
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ class InnoScript:
def sign (self):
"""Sign InnoSetup installer with local self-signed certificate."""
pfxfile = r'C:\certificate.pfx'
pfxfile = r'C:\patool.pfx'
if os.path.isfile(pfxfile):
cmd = ['signtool.exe', 'sign', '/f', pfxfile, self.distfile]
subprocess.check_call(cmd)