I would like to remove the Composer step when preparing Firefox for deployment. We only deploy the .app, I chop out everything else in Composer, replicating a manual install (Mount DMG, drag to Application).
My first thought was to use an After script to copy the .app, but installing the vendor DMG copies the .app to /, then unmounts it, and the script fails.
Another thought would be to cache the vendor DMG, write an After script to:
Mount the DMG
Copy out the .app
Unmount the DMG
Delete the cached DMG
Or the lazy option that would likely come back to bite me later: install the vendor DMG through Casper, and with an After script copy Firefox.app from / to /Applications. However, I have memories of this method changing the HD icon, although it isn't happening in 10.0.4esr.
Thoughts?
