cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rguggisberg
Level 13

Code Signing via Azure Key Vault

Hi,

Is there any support (existing or planned) for code signing via Azure key vault?

Thanks

Labels (1)
0 Kudos
(10) Replies
RWatson
Level 4

@rguggisberg did you find a solution or answer to this? 

0 Kudos

No. Our build team is signing outside of InstallShield as a step in the build process.

0 Kudos

I was thinking of doing the same thing but since our Setup.exe includes an MSI, the MSI won't be signed.  Are you not using Setup.exe or did you find a way around this? 

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @RWatson,

 If you are using premier edition of installshield, you can use the pre compression event available under event tab of releases to sign the msi using your signtool command, which will sign this msi before compression.

https://docs.revenera.com/installshield25helplib/helplibrary/IReleaseBuildEventPreComp.htm#:~:text=Use%20the%20Precompression%20Event%20dialog,cab%20files).

Please refer attached screenshot.

@varul 

This pattern would work but doing it this way would expose the secrets as they would either be in plain text in the ism file or would have to be passed in as a parameter of the build and stored as a property at runtime.  

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

 If you dont want to save directly in ism file, you can pass the bat file or any script to signing the msi using event, which will be used to sign installer while build the project.

Its not necessary  to pass the password and certificate directly in events.  Refer screenshot.

0 Kudos

@varul is it possible to pass a property in the event command line? I want to pass [ProductVersion] to my signtool 

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @RWatson ,

 What version you want to pass it  to signtool, I dont think signtool support productversion property. You can check supports properties of signtool in azure documentation.

If You want to pass the version to setup.exe you can pass it to iscmdbld.exe 

-y <product version> Refer below help link

https://docs.revenera.com/installshield28helplib/helplibrary/ISCmdBldParam.htm

0 Kudos

@varul I'm writting an exe to be called during the command line event to sign the MSI.  I want to pass a variable to it during that command line.  I have -y being passed into the ISBuildCmd but I want to be able to pass [ProductVersion] to my exe during the pre compression event.

0 Kudos

@varul I tried using this method and call the signtool during the "Precompression Event".  I am getting zero errors in my log and it looks like my event is completing successfully.  Once I have an exe result, I extracted my MSI and it is not signed. 

0 Kudos