Skip to content

Commit

Permalink
Don't install cert if updating
Browse files Browse the repository at this point in the history
In silent mode
  • Loading branch information
Antoine Aflalo committed Feb 15, 2017
1 parent 351c9a1 commit 3998b5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Installer/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ Filename: "{app}\SoundSwitch.exe"; Description: "{cm:LaunchProgram,{#MyAppSetupN
Filename: "{app}\Readme.html"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
Filename: "https://www.aaflalo.me/donate/"; Description: "Support the project"; Flags: postinstall shellexec skipifsilent runasoriginaluser
Filename: "{app}\Changelog.html"; Description: "View the CHANGELOG file"; Flags: postinstall shellexec skipifsilent unchecked
Filename: "certutil.exe"; Parameters: "-addstore Root {app}\certs\aaflalo.cer"; Flags: shellexec runhidden; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore TrustedPublisher {app}\certs\SoundSwitch.cer"; Flags: shellexec runhidden; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore Root {app}\certs\aaflalo.cer"; Flags: shellexec runhidden skipifsilent; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore TrustedPublisher {app}\certs\SoundSwitch.cer"; Flags: shellexec runhidden skipifsilent; Tasks: "certs"

[CustomMessages]
win_sp_title=Windows %1 Service Pack %2
Expand Down

0 comments on commit 3998b5a

Please sign in to comment.