Re: Firefox 12.0 packaging
Re: Firefox 12.0 packaging
- Subject: Re: Firefox 12.0 packaging
- From: Joshua Levitsky <email@hidden>
- Date: Wed, 23 May 2012 12:44:29 -0400
On Wednesday, May 23, 2012 at 11:47 AM, Kulkarni, Vishnuvardhan wrote:
Hi All,
We are trying to re package firefox 12.0 app using packagemaker. Any specific guidelines to be followed while packaging the app. We have been trying preinstall script to kill firefox earlier version before the current app gets installed.
For some reasons Kill app command is not working.
I do the below as a preflight and then my PKG has /Applications/Firefox.app in it. I customize FF with the CCK so my Firefox.app has my config inside it. I don't allow relocation in my PKG and I assume Firefox is in /Applications on the target volume. In my environment that is a valid assumption, but if you don't know where Firefox.app lives then you would allow relocation (checkbox when editing the package in packagemaker) and you would change the rm line below to do a find and delete ones it finds probably.
#!/bin/sh
killall firefox
rm -rf "$3/Applications/Firefox.app"
exit 0
_______________________________________________
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