This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Knowledge Base
- :
- Build Error When Building a InstallAnywhere Project through a 3rd-Party Application Like Visual Stud...
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
Build Error When Building a InstallAnywhere Project through a 3rd-Party Application Like Visual Studio
Build Error When Building a InstallAnywhere Project through a 3rd-Party Application Like Visual Studio
Summary
This article discusses a build error that is generated when building an InstallAnywhere project through a 3rd-party application, like Visual Studio, that does not have digital signing configured.Symptoms
This article discusses a build error that is generated when building an InstallAnywhere project through a 3rd-party application, like Visual Studio, with the command-line builder when digital signing is not configured.The command-line builder returns a -1 exit code, which is interpreted as a build failure by Visual Studio, and generates this build error message in the verbose build log:
<Warning>Code signing failed with following error: Unable to sign</Warning>
Cause
Digital signing is not configured in the InstallAnywhere project.Steps To Reproduce
- Create a project.
- Make sure not to configure digital signing.
- Enable verbose build logging.
- Build the project using the command-line builder.
Resolution
This issue has been accepted by the Engineering Team as a valid Bug for tracking with Issue# IOJ-1830666. There is no estimated timeframe for the resolution of this issue but addressing the issue is being considered for a future release.Workaround
- Configure digital signing in the project.
- Write a wrapper script to handle the -1 exit code from the command-line builder so that this specific case does not get interpreted as a build failure by the 3rd-party application, such as Visual Studio.
- Redirect the verbose build log output to a log file so the build error is not captured by the 3rd-party application, such as Visual Studio.
Additional Information
For more information about generating a verbose build log when building on Windows and Linux, click here.For more information about generating a verbose build log when building on Mac OS X and macOS, click here.
No ratings