cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
peter_andersso
Level 2

Installshield 2022 - DigiCert Keylocker signing

Hi,

I am trying to sign my installation files using a DigiCert KeyLocker certificate from
Installshield 2022. I have previously used .pfx certificates without issues. However,
I cannot find how I could use this new kind of certificates based on Cloud signing
och Hardware locks.

I have written a powershell script which can sign the files using DigiCert's smctl
application, but cannot find where to call it in Installshield.

Labels (1)
0 Kudos
(1) Reply
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @peter_andersso,

Thank you for your post.

I've included sample InstallShield project settings and a sample PowerShell script for custom signing that will work. It has been tested by our Engineering Team. I attached a screenshot of the InstallShield project settings.

PowerShell Script Called In Custom Signing Type Settings.png

 

 

 




Path: <SystemFolder>\WindowsPowerShell\v1.0\powershell.exe

Arguments: -file "C:\Users\admin\Desktop\step.ps1" -name [filename]

Sample ScriptSigning.ps1

param(
[string]$name
)
cd "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\"
.\signtool.exe sign /fd SHA256 /debug /f "<ProgramFilesFolder>\TestCA.pfx" /t http://timestamp.digicert.com /p "MyPassword" $name

Could you please give these suggestions a try? Do they work for you?

Please let us know if you have any questions or concerns. Thanks!

0 Kudos