RE: PackageMaker 3.0.2 and scripts
RE: PackageMaker 3.0.2 and scripts
- Subject: RE: PackageMaker 3.0.2 and scripts
- From: "Ball, Dan" <email@hidden>
- Date: Fri, 31 Oct 2008 12:18:41 -0400
- Thread-topic: PackageMaker 3.0.2 and scripts
Title: RE: PackageMaker 3.0.2 and scripts
Ahh...I see what I am doing, I am building a 10.4.x package, but I am using a preinstall script and the package won’t run that script on the same machine if a receipt exists. So I renamed it preflight and it ran. I probably could have kept the preinstall and simply deleted the script, but I would rather use the preflight and not have to worry about the receipt.
The other issue with the folder sticking in / I am finding out I don’t need an Install_resources folder at the same level as the payload. Just simply pick the script from anywhere basically. Things seem to be working the way I not, just stupid mistakes. The receipts thing was mixing me up!
Thanks,
Dan
--------------------- Original Message ----------------------
From: <Ball>, Dan Ball <email@hidden>
Date: Thu, 30 Oct 2008 21:03:16 -0400
To: <email@hidden>
Conversation: PackageMaker 3.0.2 and scripts
Subject: PackageMaker 3.0.2 and scripts
Hi Everyone,
I have a hopefully easy question! With Packagemaker when you want to add a script how do you do so in the new version?
Here is what I am doing:
On the desktop I make a folder called Package. Under that I setup a dummy file system directory like System, Library, etc folders and lets say I was making a package to push out a pref I would make the folder for /Library and /Library/Preferences/ and then put the pref I want under that Preferences folder.
Then I just drag that folder over into PackageMaker and create the package and that’s it. I have been using this method for years but with this new version I’m lost on the scripts area. Before I used to put a folder called Install_resources at the root level with the Package folder and drop a script in there. If I do that with this new Packagemaker it leaves the Install_resources folder on the root of the drive on the client computer where the package was installed. How do I get rid of that folder or set a script to run properly with this new PackageMaker?
I read through the manual for Package Maker and it wasn’t any help. Hopefully I was clear enough and someone can point me in the right direction.
Thanks,
Dan
------ End of Forwarded Message
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden