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

Configuring custom signing option in InstallAnywhere

Configuring custom signing option in InstallAnywhere

Introduction

This article will help you understand the steps to sign the installer through custom signing option

Instructions

With the release of InstallAnywhere2024R1, you can select between two signing options: one is standard, and the other is custom. The standard option is what you used previously by either selecting a certificate (.pfx) path or selecting one from the certificate store. InstallAnywhere2024R1 introduces a custom signing option, which will enable two new fields: "Custom Sign Tool Location" and "Sign Tool Arguments." With the help of Custom Sign Tool Location, you will be able to configure any external signing tool to take care of signing. For example, you will be able to select Microsoft Sign Tool from the Windows SDK folder or even use AzureSignTool via a batch file.

1) Using Custom Signing option to specify tool location and arguments directly.

Configuring signing fields in InstallAnywhere :

Screenshot 2024-07-24 180242.png

 

2) Using Custom Signing option to execute batch file.

Configuring batch file to sign installer in InstallAnywhere Digital Sign options under                           Projects->Platforms

Screenshot 2024-07-24 180608.png

Sample Signing.bat file contents. Use %2 variable as a place holder for the full file path to be signed.

SachinB_2-1721822927005.png

 

3) Using Custom Signing option to execute VB script.

Configuring VB script in InstallAnywhere:

Screenshot 2024-07-24 181157.png

Sample Signing.vbs file contents.

Screenshot 2024-07-24 183739.png

 

ERROR HANDLING

 If signing fails, you will be able to see the relevant message and error code in build log

 Error Code 1 returned by signtool

Screenshot 2024-07-24 181703.png

Error Code 80070057 returned by AzureSignTool which indicates One or more arguments are invalid

Screenshot 2024-07-24 182345.png

 

 

Labels (2)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 31, 2024 03:56 AM
Updated by:
Contributors