Creating installer packages for Safari

For Mas OS X, the package is created in the PKG format using PackageMaker. The package must be signed with the developer's digital signature (unless the add-in is intended for installing on Mas OS X 10.4 Tiger or earlier Mac OS versions).

To create a package, perform the following steps:

  1. Copy 1CEAdnWebNPAPISafOSX.bundle from the lib directory to another directory. Do not change the .bundle extension.

  2. In the bundle content, find the file Info.plist and open it for editing. In this file, change the MIME media type to that of your add-in, and also change the add-in descriptions and other parameters.

  3. In the Contents directory, create the Plugins directory. Copy the bundle of the add-in build for Mac OS to this directory. The resulting adapter bundle that includes the add-in must be installed to the /Library/Internet Plug-Ins directory.

  4. Build the installation package using the PackageMaker utility available in XCode. During the installation, the package must copy the bundle to the /Library/Internet Plug-Ins directory.

Add comment