[QUOTE][u]Quote by: andyboutte[/u][p]So I tried that but am still having problems. Here is what ls looks like for my symlink:
lrwxr-xr-x 1 andyboutte staff 59 Jan 29 11:51 iLife.pkg -> /Volumes/iLife ’11 Install DVD/Installer/Packages/iLife.pkg
here is the entry from the log:
Working on folder 08 iLife11 (22:57:38)
Mounting the package dmg: iLife11.dmg (/private/tmp/idmg_temp.UjapA1/items-ESF5fm/08 iLife11) at: /private/tmp/idmg.MIsU/idmg_mp.YYIb
Installing iLife.pkg
Folder 08 iLife11 done (22:57:40)
its obviously not being installed because its only taking 2 seconds. when trying to manually install ilife11 on my instadmg boot system it only give me the upgrade option. should this matter for instadmg?[/p][/QUOTE]
Your symlink is only valid when the disk image is mounted at /Volumes/iLife ’11 Install DVD. With InstaDMG (and munki) it gets mounted at a random path. So you need a relative symlink:
iLife.pkg -> ./Installer/Packages/iLife.pkg
[QUOTE][u]Quote by: dead2sin[/u][p]Nope. You must have iLife 2011 installed before it will show up in pre-installed software. You can’t package something using diffs thats not installed yet.
Nate[/p][/QUOTE]
I have installed iLife ’11, however Composer still doesn’t see it under the pre-installed software. JAMF has still not updated their diffs to recognise iLife ’11 – all their support pages still refer to Composer 7.0 (we’re running version 8.0) and their diff download page only offers up the same ones that are included in application.
So I fixed my symlink and now my link looks like this:
lrwxr-xr-x 1 andyboutte staff 30 Feb 2 23:43 iLife.pkg -> ./Installer/Packages/iLife.pkg
but I now get this error in the instadmg logs:
Install failed: The Installer can’t locate the data it needs to install the software. Check your install media or Internet connection and try again, or contact the software manufacturer for assistance.
and to test to make sure my ilife dmg was working I ran this which worked fine:
sudo installer -pkg “/Volumes/ilife11/Installer/Packages/iLife.pkg” -verbose -target “/Volumes/Macintosh HD”
I also have ilife 11 and am not seeing the ilife 11 diff available.
[QUOTE][u]Quote by: andyboutte[/u][p]So I fixed my symlink and now my link looks like this:
lrwxr-xr-x 1 andyboutte staff 30 Feb 2 23:43 iLife.pkg -> ./Installer/Packages/iLife.pkg
but I now get this error in the instadmg logs:
Install failed: The Installer can’t locate the data it needs to install the software. Check your install media or Internet connection and try again, or contact the software manufacturer for assistance.
and to test to make sure my ilife dmg was working I ran this which worked fine:
sudo installer -pkg “/Volumes/ilife11/Installer/Packages/iLife.pkg” -verbose -target “/Volumes/Macintosh HD”
[/QUOTE]
Does this work, though?
sudo installer -pkg “/Volumes/ilife11/iLife.pkg” -verbose -target “/Volumes/Macintosh HD”
If not, your symlink is still broken. You could just double-click on the symlink and see if it opens the iLife 11 installer as well.
And my question is just if therefore you can put it into an instaUp2date catalog file, optionally with an installerchoices.xml, and it will work. Last time I tried, I was following a deploystudio specific guide on osxdeployment.com which I couldn’t get to work.
Allister
[QUOTE]
Does this work, though?
sudo installer -pkg “/Volumes/ilife11/iLife.pkg” -verbose -target “/Volumes/Macintosh HD”
If not, your symlink is still broken. You could just double-click on the symlink and see if it opens the iLife 11 installer as well.[/p][/QUOTE]
the command line did not work but double clicking on it did. very strange. here is my solution if any else is reading this
convert ilife11.dmg to read/write
delete the “Install iLife” alias at the root level
expand the iLife.pkg package in Installer/packages
pkgutil –expand /Volumes/iLife\ \’11\ Install\ DVD/Installer/Packages/iLife.pkg /Volumes/iLife\ \’11\ Install\ DVD/Installer/Packages/iLifeexpanded.pkg
open the distribution file located at ilifeexpanded.pkg
do a find and replace searching for file:./ and replace with file:./Installer/Packages/
delete original ilife.pkg
flatten the expanded ilifeexanded.pkg
pkgutil –flatten /Volumes/iLife\ \’11\ Install\ DVD/Installer/Packages/iLifeexpanded.pkg /Volumes/iLife\ \’11\ Install\ DVD/Installer/Packages/iLife.pkg
delete ilifeexpanded.pkg
move ilife.pkg up to the root level of the dmg
There is some material on how to make the new iLife ’11 work with Deploy Studio.
Since I am a newbie to InstaDMG, so I really don’t know if this will be helpful or not. But here are a few links for someone more knowledgeable than I to check out. If this is a false lead, I apologize.
[url]http://www.deploystudio.com/Forums/viewtopic.php?id=2416[/url]
[url]http://www.osxdeployment.info/wiki/Category:Guides[/url]
[QUOTE][u]Quote by: Allister[/u][p]And my question is just if therefore you can put it into an instaUp2date catalog file, optionally with an installerchoices.xml, and it will work. Last time I tried, I was following a deploystudio specific guide on osxdeployment.com which I couldn’t get to work.[/p][/QUOTE]
And I still can’t get it to work in instadmg with the changes andyboutte instructed above, I CAN get it to work at the CLI with installer. I had converted the DMG back to read-only and put it in my Cache/InstaUp2DateCache folder, sha1’d it and put it in my catalog file, and I get ye olde “There were no items to install in: /private/tmp/idmg_temp.foo”
Any ideas? Thanks.
Allister
[QUOTE]
And I still can’t get it to work in instadmg with the changes andyboutte instructed above, I CAN get it to work at the CLI with installer. I had converted the DMG back to read-only and put it in my Cache/InstaUp2DateCache folder, sha1’d it and put it in my catalog file, and I get ye olde “There were no items to install in: /private/tmp/idmg_temp.foo”
][/QUOTE]
I put my ilife11.dmg in instaup2datepackages and added it to my catalog with the results from the checksum.py and it worked perfectly.
Hey andy, thanks for the follow-up. It was my installerChoices file, which works at the CLI, so it must be a bug when mounting the DMG and expecting something different, since installer doesn’t handle mounting. Gotta love how bash swallows errors like this.
I’ll file my issue appropriately.
Allister
Composer is the easiest way to package it all up fully updated into a single installer for insatDMG.
[QUOTE][u]Quote by: tristan_mason[/u][p]Composer is the easiest way to package it all up fully updated into a single installer for insatDMG.[/p][/QUOTE]
But there are still no diffs for iLife ’11, so you can’t use the pre-installed SOftware option. You need to do the Snapshots!!
true but it’s pretty straight forward and gives you an up to date single pkg at the end. deleting what is not required is pretty straight forward from the snap shot but then i’ve had to do it few times now for various things and you get a feel for it.
Dead2sin, I’m not sure how you got it to work. I installed iLife11 with all the updates opened Composer but I didn’t see it in pre-installed software. I updated the diff files but it didn’t show iLife11.
I confirmed with JAMF support that the diffs for iLife ’11 haven’t been released for Composer 8.
Andyboutte or anyone, any idea why your solution posted on 2/4 works with instaup2date but not regular instadmg?
Goldberg
i’ve only ever used uptodate so i have no idea about the other but there is no diff file for iLife 11.