Introduction
This article explains how to sign an installer using InstallAnywhere's new Custom signing option.
With the release of InstallAnywhere 2024 R1, you can select between two signing options: Standard and Custom.
- Standard: The Standard option is what you used previously by either selecting a certificate (
.pfx) path or selecting one from the certificate store. - Custom: InstallAnywhere 2024 R1 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
On the Project > Platforms > Windows area, under the Digital Signing setting, you can configure tool location and arguments directly:
#2: Using Custom Signing Option to Execute Batch File
On the Project > Platforms > Windows area, under the Digital Signing setting, you would use the Custom Sign Tool Location field to configure a batch file to sign the installer:
The following is a sample Signing.bat file. Use the %2 variable as a place holder for the full file path to be signed:
#3: Using Custom Signing Option to Execute VB Script
On the Project > Platforms > Windows area, under the Digital Signing setting, you can configure a VB script in the Sign Tool Arguments field:
The following is a sample Signing.vbs file:
Error Handling
If signing fails, you will be able to see the relevant message and error code in the build log:
- Error Code 1 returned by sign tool.
- Error Code 80070057 returned by AzureSignTool which indicates one or more arguments are invalid.
Additional Information
For more information, see:
Related Articles
Using the Dollar Sign Symbol in InstallAnywhere 3Number of Views Preview and Filter page of a custom report refers to grouping option but custom reports do not support grouping 4Number of Views Changes to Authentication and Code Signing Support for OS X Based Installers in InstallAnywhere 2014 Hotfix A 3Number of Views Tips On Making And Configuring Custom Dialogs 18Number of Views Configuring Extended Validation (EV) Certificate information in InstallShield 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago