InstallerJS

RSS for tag

Manage and customize the installation and distribution experience using InstallerJS.

Posts under InstallerJS tag

50 Posts

Post

Replies

Boosts

Views

Activity

pkg file have permission issues copying Bom file.
Hi, I've made a pkg installation file that usually works. However, for some setups I gets the following failure after postinstall finish (return 0) 2023-01-12 10:52:00-08 ESXBigSurVM-5 package_script_service[815]: Responsibility set back to self. 2023-01-12 10:52:00-08 ESXBigSurVM-5 installd[781]: PackageKit: Writing receipt for com.myprod.mycomp to / 2023-01-12 10:52:00-08 ESXBigSurVM-5 install_monitor[814]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: releasing backupd 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: allow user idle system sleep 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Cleared responsibility for install from 773. 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Cleared permissions on Installer.app 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Install Failed: Error Domain=NSCocoaErrorDomain Code=513 "You don't have permission to save the file "com.myprod.mycomp.bom" in the folder "receipts"." UserInfo={NSFilePath=/var/db/receipts/com.myprod.mycomp.bom, NSUnderlyingError=0x7f92fe515760 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} { NSFilePath = "/var/db/receipts/com.myprod.mycomp.bom"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=1 \"Operation not permitted\""; } 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Running idle tasks I've used the installer command with sudo, but i'm still getting the permissions issue ... sudo /usr/sbin/installer -pkg /path/to/my/file.pkg -target / Any idea why this is happening only in some setups (usually VMs running BigSur) ? and how could i prevent it ?
0
0
1.6k
Jan ’23
IOS 14 Beta 6
I have iOS 14 beta 4 because the issue I am about to describe has been ongoing. The update appears in my settings, however, when I click install and I go to the terms and conditions, the screen becomes unresponsive. From there I can go home, etc but the terms and conditions page, after pressing accept, does not function. Any help or suggestions?
1
0
3.7k
Dec ’22
Installing Bundler error React Native
Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1 Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5 Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0 Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS. Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.     at createFromTemplate (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:169:11)     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at async Object.initialize [as func] (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:222:3)     at async Command.handleAction (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/index.js:140:9) info Run CLI with --verbose flag for more details.
0
1
2.5k
Dec ’22
allow-external-scripts deprecated in creation of pkg installer
I noticed the following message when creating a pkg installer: [WARNING]: Specifying [allow-external-scripts='true'] is deprecated. Having this in your distribution will break the installability of this product in an upcoming release of macOS. Apple reserves the right to reject notarization of any product with this option. I have a couple of questions about that: Which upcoming release? Ventura? I am trying to figure out the timeline here. Whats the replacement for this feature? We are depending on it in our installers. I tried googling the answers but came up empty so I would appreciate some input on this from Apple. (Posted this again, as I clicked accept on a reply accidentally and that can not be reverted :-( )
1
0
1.4k
Oct ’22
Can I get path and name of pkg package from InstallerPane?
Hi, I'm writing a custom step to our installer using IntallerPlugins.framework and class InstallerPane. Is it possible to get path and name of the pkg file from InstallerPane object? I tried solution from this page but it seems right now the delegate is not set. http://s.sudre.free.fr/Stuff/Installer/Installer_Plugins/InstallerPlugins-FAQ002.html. Also there's no appropriate tag for this framework.
0
0
1.8k
Oct ’22
allow-external-scripts deprecated in creation of pkg installer
I noticed the following message when creating a pkg installer: [WARNING]: Specifying [allow-external-scripts='true'] is deprecated. Having this in your distribution will break the installability of this product in an upcoming release of macOS. Apple reserves the right to reject notarization of any product with this option. I have a couple of questions about that: Which upcoming release? Ventura? I am trying to figure out the timeline here. Whats the replacement for this feature? We are depending on it in our installers. I tried googling the answers but came up empty so I would appreciate some input on this from Apple.
2
0
3.0k
Oct ’22
App update installation -> Silent installation MDM Script for iOS iPhone
Hello all,  i searched the forum but found nothing helpful so i create a thread myself.   On an iPhone -> Go to settings -> App Store -> Mobile Data App Downloads Always Allow 2 Ask if over 200 MB Always ask.  This is the option i talk about. We send managed apps via MDM to the device, the default setting is ask if over 200 MB. This causes some problems for us, if an employee presses no and then never connects to a WLan we don't use the latest version of the app on the iPhone. We can send scripts to iOS devices to block apps. We can also send scripts to devices if we assign an app to them but i don't have any idea where to start to build such a script and what would even be possible. **But i can’t find any documentation about the scripts that would work for iOS devices. ** Can someone please help or send me a link. Our MDM can’t solve this on its on unfortunately. Kind regards Mika
0
0
1.6k
Aug ’22
In-house Distribution (Urgent Help!)
Hello Everyone, Even though our enterprise account expired, our app associated with this membership said to run for the next 44 days. However, today all of a sudden, our clients are not able to open the app, it says 'This app cannot be installed because its integrity could not be verified'. Note: we did not build and deploy any app ever since the membership expired. Our clients were able to download and install the app until today. Any help will be highly appreciated. Thank you!
0
0
951
Jul ’22
Roseatta install popup not coming when app is launched by terminal or via NSTask.
Rosetta 2 is not installed by default, you are prompted to install it for the first run of an x64 app - but only in the gui. If you run an x64 app from the command line, directly or prefixed with arch -arch x86_64, it will simply fail. You have to double-click an x64 .app bundle in the Finder to trigger the "Would you like to install Rosetta?" popup. Is there any way/API available to launch intel app/binary via terminal/NStask so that OS can show popup instead of launch failing. If not, any cmd available to show rosetta pop?
1
0
1.3k
Jun ’22
create pkg without admin password to install
Hi. I ma trying to create pkg to install our application. We want to make it installable without admin password. Is it even possible to do on Catalina? And where I can install app without admin's password. I have tried to create default pkg with Packager (unchecked "Require Admin password for installation") and install it in different locations using user account without admin rights. And I failed :( It asks to enter admin login and password to continue.
2
0
1.8k
Jun ’22
Global app with country-specific version?
We have an app currently available globally. Our growth team is launching a new temporary campaign affecting only one country. the app has to be available on one market with the new country-specific marketing campaign the exact same app (without the country-specific campaign) has to be available in the rest of the world How would you recommend we manage this use case? Considering we don't want to loose the associated reviews and ratings of our app the campaign is temporary - only for a month I have read that one solution would be to have the app detect the country App Store from which it is purchased. Do you consider this as a feasible solution?
1
0
1.1k
May ’22
pkg installer backgroud image cannot be seen
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: 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: 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
1
0
2.2k
May ’22
productbuild distribution.dist
I'm just finally understanding pkgbuild/productbuild and have created a simple installer package. Using productbuild with the --synthesize option I've created my basic distribution.dist file. Now I want to customize it by adding a readme and license to it. I'm thinking I need to add a line like this somewhere: < license file="License.rtf" mime-type="text/rtf"/ > (funny, I needed to put those extra spaces in for it to show up) First, is the format for look right? I'm no expert on xml. Second, I tried to place the line right above the first pkg-ref, or just after the final pkg-ref. In both cases it's within the installer-gui-script beginning and ending tags. Neither was successful. How do I add this simple addition?
1
0
1.5k
May ’22
Using InstallerJS in MDM distributed package
Hi, We are creating a Installer package which will be distributed to user through MDM with the InstallApp command. Our distribution package use the Distribution.xml file and InstallerJS to check each flat package version and select the package for install only if there is no receipt or if the already installed package version is older. The package is working fine when using the GUI Installer or through the command line installer. When trying to install the package through MDM, all package which use InstallerJS javascript to decide if it will be install or not will not be selected and thus will not be installed. Is this the expected behaviour? Looking at the install log, I can see that the package selection seems to be done by appstored when installing through MDM. Is appstored not able to understand the InstallerJS script? The documentation specifies that InstallerJS is for the Installer application. https://developer.apple.com/documentation/installer_js If that's the case is there a way to select specific flat package for install when distributing through MDM? Thanks in advance!
2
1
1.7k
Feb ’22
My app is approved but nowhere in the store..
I have an approved app. I can't find it on the link given at the bottom of General App Info page "show your app on store" the page keeps waiting to load but no result. but when I change the url manually with different country short codes like =nl or =tr it is there but not in the link that you provide me.. + As I download my app from the store the app holds at the splash screen..'! I am stuck and have no clue what to do..!
0
0
722
Jan ’22
pkg file have permission issues copying Bom file.
Hi, I've made a pkg installation file that usually works. However, for some setups I gets the following failure after postinstall finish (return 0) 2023-01-12 10:52:00-08 ESXBigSurVM-5 package_script_service[815]: Responsibility set back to self. 2023-01-12 10:52:00-08 ESXBigSurVM-5 installd[781]: PackageKit: Writing receipt for com.myprod.mycomp to / 2023-01-12 10:52:00-08 ESXBigSurVM-5 install_monitor[814]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: releasing backupd 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: allow user idle system sleep 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Cleared responsibility for install from 773. 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Cleared permissions on Installer.app 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Install Failed: Error Domain=NSCocoaErrorDomain Code=513 "You don't have permission to save the file "com.myprod.mycomp.bom" in the folder "receipts"." UserInfo={NSFilePath=/var/db/receipts/com.myprod.mycomp.bom, NSUnderlyingError=0x7f92fe515760 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} { NSFilePath = "/var/db/receipts/com.myprod.mycomp.bom"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=1 \"Operation not permitted\""; } 2023-01-12 10:52:01-08 ESXBigSurVM-5 installd[781]: PackageKit: Running idle tasks I've used the installer command with sudo, but i'm still getting the permissions issue ... sudo /usr/sbin/installer -pkg /path/to/my/file.pkg -target / Any idea why this is happening only in some setups (usually VMs running BigSur) ? and how could i prevent it ?
Replies
0
Boosts
0
Views
1.6k
Activity
Jan ’23
IOS 14 Beta 6
I have iOS 14 beta 4 because the issue I am about to describe has been ongoing. The update appears in my settings, however, when I click install and I go to the terms and conditions, the screen becomes unresponsive. From there I can go home, etc but the terms and conditions page, after pressing accept, does not function. Any help or suggestions?
Replies
1
Boosts
0
Views
3.7k
Activity
Dec ’22
Installing Bundler error React Native
Ignoring executable-hooks-1.6.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.6.1 Ignoring ffi-1.15.5 because its extensions are not built. Try: gem pristine ffi --version 1.15.5 Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0 Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS. Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.     at createFromTemplate (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:169:11)     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at async Object.initialize [as func] (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/commands/init/init.js:222:3)     at async Command.handleAction (/Users/khuongtai/.npm/_npx/7930a8670f922cdb/node_modules/@react-native-community/cli/build/index.js:140:9) info Run CLI with --verbose flag for more details.
Replies
0
Boosts
1
Views
2.5k
Activity
Dec ’22
allow-external-scripts deprecated in creation of pkg installer
I noticed the following message when creating a pkg installer: [WARNING]: Specifying [allow-external-scripts='true'] is deprecated. Having this in your distribution will break the installability of this product in an upcoming release of macOS. Apple reserves the right to reject notarization of any product with this option. I have a couple of questions about that: Which upcoming release? Ventura? I am trying to figure out the timeline here. Whats the replacement for this feature? We are depending on it in our installers. I tried googling the answers but came up empty so I would appreciate some input on this from Apple. (Posted this again, as I clicked accept on a reply accidentally and that can not be reverted :-( )
Replies
1
Boosts
0
Views
1.4k
Activity
Oct ’22
Can I get path and name of pkg package from InstallerPane?
Hi, I'm writing a custom step to our installer using IntallerPlugins.framework and class InstallerPane. Is it possible to get path and name of the pkg file from InstallerPane object? I tried solution from this page but it seems right now the delegate is not set. http://s.sudre.free.fr/Stuff/Installer/Installer_Plugins/InstallerPlugins-FAQ002.html. Also there's no appropriate tag for this framework.
Replies
0
Boosts
0
Views
1.8k
Activity
Oct ’22
allow-external-scripts deprecated in creation of pkg installer
I noticed the following message when creating a pkg installer: [WARNING]: Specifying [allow-external-scripts='true'] is deprecated. Having this in your distribution will break the installability of this product in an upcoming release of macOS. Apple reserves the right to reject notarization of any product with this option. I have a couple of questions about that: Which upcoming release? Ventura? I am trying to figure out the timeline here. Whats the replacement for this feature? We are depending on it in our installers. I tried googling the answers but came up empty so I would appreciate some input on this from Apple.
Replies
2
Boosts
0
Views
3.0k
Activity
Oct ’22
can approval
we are communication platform with encrypted messeges we love to to be on apple purekonect
Replies
0
Boosts
0
Views
1.5k
Activity
Oct ’22
How to make bootable install thumb drive for Ventura
I know the process for previous MacOs. If its the same process, how can I get the install file? I am using Intel silicon.
Replies
3
Boosts
0
Views
1.4k
Activity
Sep ’22
App update installation -> Silent installation MDM Script for iOS iPhone
Hello all,  i searched the forum but found nothing helpful so i create a thread myself.   On an iPhone -> Go to settings -> App Store -> Mobile Data App Downloads Always Allow 2 Ask if over 200 MB Always ask.  This is the option i talk about. We send managed apps via MDM to the device, the default setting is ask if over 200 MB. This causes some problems for us, if an employee presses no and then never connects to a WLan we don't use the latest version of the app on the iPhone. We can send scripts to iOS devices to block apps. We can also send scripts to devices if we assign an app to them but i don't have any idea where to start to build such a script and what would even be possible. **But i can’t find any documentation about the scripts that would work for iOS devices. ** Can someone please help or send me a link. Our MDM can’t solve this on its on unfortunately. Kind regards Mika
Replies
0
Boosts
0
Views
1.6k
Activity
Aug ’22
E-Pass2003
Hi, does anyone know e-pass token 2003 software compatible for macOSMonterey? It is causing big time difficulty in MCA and GST related filings and affixing DSC? Pls send any weblink, if anyone know?
Replies
0
Boosts
0
Views
941
Activity
Aug ’22
In-house Distribution (Urgent Help!)
Hello Everyone, Even though our enterprise account expired, our app associated with this membership said to run for the next 44 days. However, today all of a sudden, our clients are not able to open the app, it says 'This app cannot be installed because its integrity could not be verified'. Note: we did not build and deploy any app ever since the membership expired. Our clients were able to download and install the app until today. Any help will be highly appreciated. Thank you!
Replies
0
Boosts
0
Views
951
Activity
Jul ’22
iTunes Upgrade Windows Machine
Good Morning, We are trying to update a large number of machines in a production environment to the latest version of itunes, however are being forced to go the the Microsoft Store to do so. Are there any resources out there to get the exe or msi direction to apply to the machines via configuration manager?
Replies
0
Boosts
0
Views
1.1k
Activity
Jun ’22
Roseatta install popup not coming when app is launched by terminal or via NSTask.
Rosetta 2 is not installed by default, you are prompted to install it for the first run of an x64 app - but only in the gui. If you run an x64 app from the command line, directly or prefixed with arch -arch x86_64, it will simply fail. You have to double-click an x64 .app bundle in the Finder to trigger the "Would you like to install Rosetta?" popup. Is there any way/API available to launch intel app/binary via terminal/NStask so that OS can show popup instead of launch failing. If not, any cmd available to show rosetta pop?
Replies
1
Boosts
0
Views
1.3k
Activity
Jun ’22
macOS Ventura 13 beta has problems with some periphery
hello, I use for testing:  Mac mini 2020 with m1 macOS Venture beta Problems: I cannot connect my Apple optical mouse with Bluetooth I can connect my apple wireless keyboard A1314, but the keyboard does not work correct Thanks for help Rolf
Replies
1
Boosts
0
Views
1.6k
Activity
Jun ’22
create pkg without admin password to install
Hi. I ma trying to create pkg to install our application. We want to make it installable without admin password. Is it even possible to do on Catalina? And where I can install app without admin's password. I have tried to create default pkg with Packager (unchecked "Require Admin password for installation") and install it in different locations using user account without admin rights. And I failed :( It asks to enter admin login and password to continue.
Replies
2
Boosts
0
Views
1.8k
Activity
Jun ’22
Global app with country-specific version?
We have an app currently available globally. Our growth team is launching a new temporary campaign affecting only one country. the app has to be available on one market with the new country-specific marketing campaign the exact same app (without the country-specific campaign) has to be available in the rest of the world How would you recommend we manage this use case? Considering we don't want to loose the associated reviews and ratings of our app the campaign is temporary - only for a month I have read that one solution would be to have the app detect the country App Store from which it is purchased. Do you consider this as a feasible solution?
Replies
1
Boosts
0
Views
1.1k
Activity
May ’22
pkg installer backgroud image cannot be seen
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: 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: 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
Replies
1
Boosts
0
Views
2.2k
Activity
May ’22
productbuild distribution.dist
I'm just finally understanding pkgbuild/productbuild and have created a simple installer package. Using productbuild with the --synthesize option I've created my basic distribution.dist file. Now I want to customize it by adding a readme and license to it. I'm thinking I need to add a line like this somewhere: < license file="License.rtf" mime-type="text/rtf"/ > (funny, I needed to put those extra spaces in for it to show up) First, is the format for look right? I'm no expert on xml. Second, I tried to place the line right above the first pkg-ref, or just after the final pkg-ref. In both cases it's within the installer-gui-script beginning and ending tags. Neither was successful. How do I add this simple addition?
Replies
1
Boosts
0
Views
1.5k
Activity
May ’22
Using InstallerJS in MDM distributed package
Hi, We are creating a Installer package which will be distributed to user through MDM with the InstallApp command. Our distribution package use the Distribution.xml file and InstallerJS to check each flat package version and select the package for install only if there is no receipt or if the already installed package version is older. The package is working fine when using the GUI Installer or through the command line installer. When trying to install the package through MDM, all package which use InstallerJS javascript to decide if it will be install or not will not be selected and thus will not be installed. Is this the expected behaviour? Looking at the install log, I can see that the package selection seems to be done by appstored when installing through MDM. Is appstored not able to understand the InstallerJS script? The documentation specifies that InstallerJS is for the Installer application. https://developer.apple.com/documentation/installer_js If that's the case is there a way to select specific flat package for install when distributing through MDM? Thanks in advance!
Replies
2
Boosts
1
Views
1.7k
Activity
Feb ’22
My app is approved but nowhere in the store..
I have an approved app. I can't find it on the link given at the bottom of General App Info page "show your app on store" the page keeps waiting to load but no result. but when I change the url manually with different country short codes like =nl or =tr it is there but not in the link that you provide me.. + As I download my app from the store the app holds at the splash screen..'! I am stuck and have no clue what to do..!
Replies
0
Boosts
0
Views
722
Activity
Jan ’22