To use this feature, we added a new <autoUpdateInitializationActionList> element that can perform a desired action once an update installer has started. Here's an example:
<autoUpdateInitializationActionList>
<throwError>
<text>Another instance is running. This instance will abort</text>
<ruleList>
<singleInstanceCheck logic="is_running" />
</ruleList>
</throwError>
</autoUpdateInitializationActionList>
In this example, the element checks whether another instance is running using the <singleInstanceCheck> rule and throws an error if it finds one. You can use this element for any number of actions you want to run during the auto-update process.
Here are the other changes for this new version:
- Fixed <runProgram> failing in some Windows scenarios at build time when invoked from builder-cli
- Fixed OK button not being properly localized in <showChoiceQuestion> dialog when running in gtk mode
- Properly set a default value for the <units> property of the <getDiskUsage> action
Interested in trying InstallBuilder? Download it now and you can get started packaging your software in minutes!