Re: creating custom installer
Re: creating custom installer
- Subject: Re: creating custom installer
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 9 Jan 2008 22:43:24 +0100
On Jan 7, 2008, at 7:49 AM, raju p wrote:
hi
thank you ,i am using 10.4 my query is how do i deselect a
particular package using my scripts from a metapackage.
Stéphane Sudre <email@hidden> 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.
Which OS version are you using?
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
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.
8) Click on the round + button
9) Double-click the "Untitled.pkg" line and type the name of your
second package file ("mypackage.pkg" in your example)
10) Save the project and build it.
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.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden