How can I deploy an application to Mac OS? Can I use the same packager to create packages for mac os than for linux or windows? Will you provide the command lines to me? |
I'll try to cover a couple of things in this document that you have to know/to do to successfully deploy a package on a Mac OS x target. If you want to deploy on a Windows target, you should read the KA 000121358 instead. A - Build and send a package: The packager must be a Mac OS X device. Once you have chosen a device you'll have to: - go to Packages > Package Factory, you should see your new packager:
- Copy the application bundle to any location on the Mac which is acting as the package factory
- In the Asset Core console, create a new custom package on the MacOS package factory - Under the Files node of the package, add the application bundle (it will appear with an extension of .app when viewed in the Asset Core file browser). - Set the destination location in the package to /Applications (no run command is needed). PKG files are similar to MSI files in a Windows environment, and you would need to use the "installer" command line utility to install the package (similar to using msiexec on Windows). Once you have worked with the application vendor to identify the correct command line parameters to perform the installation, you would enter this same command in the run command field within the package (the destination can be any directory, as installer will perform the installation and copy the application bundle(s) to the appropriate location). MPKG files work just like PKG files in that they need to be used with the installer command line tool. The difference is that an MPKG file does not itself perform any installation operations, it just references other PKG files. For example, the MPKG for an suite of applications such as iWork could reference PKG files for each of the individual applications included with iWork (I'm not sure off the top of my head if iWork actually installs this way, but it demonstrates the concept). You will also find a great explanation on mac os application installers here. If you don't already know which options to use, you should consider looking for that application name and version on ItNinja. This site is the best site i know to find options to use to deploy specific applications. You'll often find options there that are not even documented on the editor's website. You should first test to install this application manually by using the command line you found on your test device, in order to validate it actually works. 3- Setup your custom package: This is the only type of packages that exists for macs. To create your package, select your mac package factory then select the "Custom Packages" folder and right click on "Create package..." or use the package creation wizard: - As mentioned earlier in this document it might not always be required to run a command, so the field "run command" can be left blank. This will make it available in the main node "Packages" and be ready to be assigned to devices. It might take a while to publish it, wait for the "Package Status" line in the "General" tab of the package to be set to the status "Package successfully published to target device": The files will be copied from the packager to the master. The package archive can be found in ../master/data/Vision64database/Packages once the package has been published in the console. Read steps 5 and 6 of the KA 000121358
Read them from the KA 000121358 as they're identical. |