Re: creating custom installer
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Jan 7, 2008, at 7:49 AM, raju p wrote: Stéphane Sudre <iceberg-dev@orange.fr> wrote: On Jan 4, 2008, at 1:54 PM, raju p wrote:
hi all, i am relatively new to the mac installer . i have specific problem
i have two pkg i have to combine them and create a new installer
1) thirdparty.pkg 2) mypackage.pkg
i have to combine these two and create a new package something like
mymetapackage.mpkg which has thirdparty.pkg and mypackage.pkg
* i do not any control over thirdparty.pkg and its resources * mypackage.pkg should be installed only after installing thirdparty.pkg * if thirdparty.pkg is already installed it should not be installed or upgraded through my metapackage.
how do i achieve this functionality using a metapackage You just create a metapackage.
OK, here is how to proceed on Mac OS X 10.4. 1) Open PackageMaker 2) Select the Metapackage Project line in the Assistant window 3) Click OK 4) Type in the Title Field the name you want to use for your metapackage 5) Click the "Contents" tabview item 8) Click on the round + button 10) Save the project and build it. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... hi thank you ,i am using 10.4 my query is how do i deselect a particular package using my scripts from a metapackage. Which OS version are you using? 6) Double-click the "Untitled.pkg" line and type the name of your package file ("thirdparty.pkg" in your example) 7) You probably want to switch the Atttributes for this line to Required. 9) Double-click the "Untitled.pkg" line and type the name of your second package file ("mypackage.pkg" in your example) You will need to have your packages (thirdparty and mypackage) at the same level as your metapackage. Now, if you want to prevent the installation of the thirdparty package whatever its version is, you will need to add an InstallationCheck script in the Resources folder of your thirdparty package so that it returns 64 whenever files from your thirdparty package are already installed on disk. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre