In the Application Builder root node you can further select the Ignore license errors during launch check box. This will make it possible for users to start an application regardless of which licenses are available. However, this will not work if the application, at startup, uses features required by an add-on product. The application has to be created in such a way that the add-on product specific features are not used in the startup phase of the application but instead are deferred to later in the workflow.
Note that even if hasProductForFile return true, in a floating network license situation there may not be any free licenses to check out. If your application is going to process several MPH files and you want to make sure all licenses are checked out before the processing starts, instead use the
checkoutLicense or
checkoutLicenseForFile methods.