Previous: Mac OS Platform Application installation package making tool packages use introduction
Additional Information
The previous article described how to use packages to create an installation package under a Mac. However, the installation package can only be installed in the file path of the system. However, in some scenarios, we need to install some files into the current user's home directory, which can be used by the current user. For example, we want to install the files to ~/movies/templates/down, we have to be treated differently. This article describes how to use packages to create a package that frees files to the current user's home directory.
Body
1. Create a distribution project and select the Advanced user option in the Packages preferences:
2. Select Project on the left, then Settings tab, pull the Advanced options list to the bottom and choose the current user home directory:
3. In Requirements&resources tab, select Install on Startup disk only:
4. Select the package on the left, select Settings Tab on the right, and uncheck require admin password for installation:
5. Select Payload Tab, where you want to install to the current user home directory, create a new folder: The new directory path will be created recursively under the current user directory.
Reference links
1. http://www.cnblogs.com/csuftzzk/p/mac_os_x_make_application_installer.html
2. http://s.sudre.free.fr/Software/Packages/Q&A_3.html
Introduction to the use of the application installation package authoring tool packages in MAC OS Platform (supplemental)