burnersk
Posts: 44
Joined: Mon Mar 25, 2019 12:26 pm

How to temporary disable/enable Digital Signature via command line

I have two scenarios:
  • release builds, which I sign with Advanced Installer, and
  • (automated) development builds, which are not signed at all.
I want to have a single Advanced Installer configuration file, but still want to choose whether I want to sign or not.

Is there a way to temporary disable/enable the Digital Signature functionality via the command line (automated build process)?
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: How to temporary disable/enable Digital Signature via command line

Hello,

In order to achieve this, you can use the ResetSig and SetSig command line parameters:

ResetSig --> Resets the digital signature. The effect of this command is equivalent to unticking the option “Enable signing” in the Digital Signature page.

SetSig --> Opposite for command ResetSig. The effect of this command is equivalent to ticking the option “Enable signing” in the Digital Signature page.

For more information about this, please have a look on the following article:

Executing a files of commands

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
burnersk
Posts: 44
Joined: Mon Mar 25, 2019 12:26 pm

Re: How to temporary disable/enable Digital Signature via command line

Thank you Catalin, this was a clear case of myself of not reading carefully.

But in my defense, section 6 points out "Parameters" with three (bold) bullet points. It gives the feeling of that is all; so I have skiped this section and went to the next one.

A (low prio) suggestion: Please rearrange the parameter section, so it is clear what "all the parameters" are ;)
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: How to temporary disable/enable Digital Signature via command line

Hello,

You are always welcome!

I am glad that helped.

I have forwarded your feedback to our Technical Writing team and the article will be updated in the future.

Thank you for your suggestion.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”