Hi,
I am using MAC pro(macOS Big Sur v11.2.3) to install my installer package. The backgroud picture cannot be shown, please let me know how to fix this issue. From the install.log I saw below messages:
Below is the Distribution.xml for installer:
I am using MAC pro(macOS Big Sur v11.2.3) to install my installer package. The backgroud picture cannot be shown, please let me know how to fix this issue. From the install.log I saw below messages:
Code Block language 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: model-builder Installation Log 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: Package Authoring Error: <background> has an unsupported MIME type: image/data 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber 2021-03-18 09:28:21+08 Qiangs-MBP Installer[25684]: Failed to load specified background image
Below is the Distribution.xml for installer:
Code Block language <?xml version="1.0" encoding="utf-8" standalone="no"?> <installer-script minSpecVersion="1.000000"> <title>__PRODUCT__</title> <background mime-type="image/png" file="banner.png" scaling="proportional"/> <welcome file="welcome.html" mime-type="text/html" /> <conclusion file="conclusion.html" mime-type="text/html" /> <license file="LICENSE.txt"/> <options customize="never" allow-external-scripts="no"/> <domains enable_localSystem="true" /> <installation-check script="installCheck();"/> <script> function installCheck() { if(!(system.compareVersions(system.version.ProductVersion, '10.6.0') >= 0)) { my.result.title = 'Unable to install'; my.result.message = '__PRODUCT__ requires Mac OS X 10.6 or later.'; my.result.type = 'Fatal'; return false; } if(system.files.fileExistsAtPath('/Library/__PRODUCT__/__VERSION__/')) { my.result.title = 'Previous Installation Detected'; my.result.message = 'A previous installation of __PRODUCT__ exists at /Library/__PRODUCT__/__VERSION__/. This installer will remove the previous installation prior to installing. Please back up any data before proceeding.'; my.result.type = 'Warning'; return false; } return true; } </script> <choices-outline> <line choice="__PRODUCT__"/> </choices-outline> <choice id="__PRODUCT__" title="__PRODUCT__"> <pkg-ref id="__PRODUCT__.pkg"/> </choice> <pkg-ref id="__PRODUCT__.pkg" auth="Root">__PRODUCT__.pkg</pkg-ref> </installer-script>