Skip to content

Commit

Permalink
Install and remove correctly the certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Aflalo committed Feb 15, 2017
1 parent 3998b5a commit 563fac3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Installer/setup.iss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;contribute on github.com/stfx/innodependencyinstaller or codeproject.com/Articles/20868/NET-Framework-1-1-2-0-3-5-Installer-for-InnoSetup
;contribute on github.com/stfx/innodependencyinstaller or codeproject.com/Articles/20868/NET-Framework-1-1-2-0-3-5-Installer-for-InnoSetup

;comment out product defines to disable installing them
;#define use_iis
Expand Down Expand Up @@ -92,17 +92,17 @@ 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 skipifsilent; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore TrustedPublisher {app}\certs\SoundSwitch.cer"; Flags: shellexec runhidden skipifsilent; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore ""Root"" ""{app}\certs\aaflalo.cer"""; Flags: runhidden runascurrentuser skipifsilent; Tasks: "certs"
Filename: "certutil.exe"; Parameters: "-addstore ""TrustedPublisher"" ""{app}\certs\SoundSwitch.cer"""; Flags: runhidden runascurrentuser skipifsilent; Tasks: "certs"

[CustomMessages]
win_sp_title=Windows %1 Service Pack %2
en.AddCertDescription=Trust SoundSwitch Certficates%nThis way you won't have warnings when SoundSwitch is updating.
fr.AddCertDescription=Installer les certificats de SoundSwitch%nSi sélectionné, Windows reconnaîtra SoundSwitch comme étant un distributeur valide.
[UninstallRun]
Filename: "certutil.exe"; Parameters: "-delstore TrustedPublisher ‎ebdb8a0a72a6029140749ea2af63d2fc" ; Flags: shellexec runhidden
Filename: "certutil.exe"; Parameters: "-delstore TrustedPublisher 942A37BCA9A9889442F6710533CB5548" ; Flags: shellexec runhidden
Filename: "certutil.exe"; Parameters: "-delstore ""Root"" ""eb db 8a 0a 72 a6 02 91 40 74 9e a2 af 63 d2 fc""" ; Flags: runhidden runascurrentuser
Filename: "certutil.exe"; Parameters: "-delstore ""TrustedPublisher"" ""942A37BCA9A9889442F6710533CB5548""" ; Flags: runhidden runascurrentuser
[Code]
#include "scripts\checkMutex.iss"
Expand Down

0 comments on commit 563fac3

Please sign in to comment.