They don’t say but I have compared the old and the new version and the only difference is some extra languages on the MRTAgent.app (malware removal tool).
Would you share what you did to modify the installer? I’ve posted previously in this thread regarding the issues I ran into with patching the post-14.1.0 updaters. It seemed to work, but only by disabling an aspect of Microsoft’s package selection logic to a point that I wasn’t comfortable using that in my base image.
Given their evolving history of poorly-written installer script logic with Office 2011 updates, I’d tread with caution in doing any further patching soley for the purpose of having an up-to-date version baked into an image.[/p][/QUOTE]
I have just changed two functions on the distribution.dist file to return always true. Code below
[code]function ShouldInstallPackage()
{
var result = true;
var idx;
for (idx = 0; idx < my.choice.packages.length; idx += 1)
{
var package_path = GetPackageMapDirectory()+’/’+my.choice.packages[idx].identifier;
var default_location = system.files.bundleAtPath(package_path)[‘IFPkgFlagDefaultLocation’];
var install_volume = my.target.mountpoint;
var install_destination = install_volume+default_location;
var MSPkgIncremental = 0;
try {
if (system.files.plistAtPath(package_path+”/Contents/Info.plist”).MSPkgIncremental)
MSPkgIncremental = 1;
} catch (e) {
system.log(“MSPkgIncremental package: ‘”+my.choice.packages[idx].identifier+”‘ exception: “+e);
result = false;
}
if (MSPkgIncremental) {
var status = system.runOnce(‘pu_script’, package_path, install_destination);
result = result && (status== 0);
}
}
I have checked my log and I also have the same error appearing but iTunes is working fine on the image. Did you test the resulting file?
For what I read the error comes from one option on the XML that the installer has and instaDMG forces to be skipped. Jailed install :question:
You can read about the allow-external-scripts property here:
h*tps://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html#//apple_ref/doc/uid/TP40005370-CH100-SW20
BTW my iLife ’11 installation has that same message repeated many times and those applications also work fine.
It seems very strange 😯 the bug may come from having the same name of the package and path to it ¿?
You could start by organizing the packages by folders? as many of us do.
Also another approach less intrusive would be doing a checkout of the latest revision in a different folder aka /instaDMG2 and copy the catalogs, installerDiscs and pkgs
An example of catalog with packages sorted by folder
[code]# GENERIC LION IMAGE WITH ILIFE ’11 AND XCODE 4
ISO Language Code = en
Output Volume Name = Macintosh HD
Output File Name = Our_Lion.i386.hfs.dmg
Looks like you are doing:
[code]$ sudo ./instadmg/AddOns/InstaUp2Date/instaUp2Date.py 10.7_vanilla[/code]
If you are keep in mind that you need the [b]-p[/b] to process after the checksums
Well the *new* updates have a certificate valid after Feb. 24th so if you set up the date before that they won’t work.
As you said, you can keep a valid BaseImageCache and use the current date for updates and software, or use Greg’s script to fix the two conflictive packages inside InstallESD.dmg
I personally keep a valid BaseImageCache and works perfectly
[QUOTE][u]Quote by: yoshi[/u][p]
[i]In any case 11D50 is reported to work fine.[/i]
[/p][/QUOTE]
It actually does [b]NOT[/b] work properly. If you delete the BaseImageCache, when you execute the instaUp2Date the log reads:
[code] PHASE:Preparing Mac OS X…
….
Mar 27 09:44:48 mymac.local installer[49524] : Failed install preflight: Error Domain=PKInstallErrorDomain Code=102 “The package “RemoteDesktop.pkg” is untrusted.”
….
Mar 27 09:44:48 mymac.local installer[49524] : Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Base OS installed
Compacting and saving cached image to: ./Caches/BaseImageCache/EC2F2461.dmg[/code]
After this you get a base image in the cache of few hundred KB.
SOLUTION: I have tested changing the date of my machine to February and executed the same command with good response. My base image in the cache is now 4.12GB. Once the cache image is healthy the rest of packages installed on it with no problem with the system date corrected.
This may be a workaround until 10.7.4 is out (which should be soon)
Same as I do you install a copy of the default Firefox preferences to [code]/System/Library/User Template/English.lproj/Library/Application Support/Firefox/Profiles[/code] and as a separate package you copy the .app bundle to [code]/Applications[/code]
It is easy to troubleshoot. Just delete the default profile executing [code]sudo rm -rfd /System/Library/User\ Template/English.lproj/Library/Application\ Support/Firefox[/code] then create a new user, log in to that user and check.
If the error does not appear probably your preferences are corrupted
I am not sure if the case would apply here but for mass deploying iOS applications outside the US (or even inside the US using the golden master method) Apple recommend explicitly on their deployment guides to buy as many licenses as you need using the volume purchasing program, and keep the un-used codes as proof.
This not ideal solution seems to me that could be applied for the Mac Appstore. But as mentioned above make sure you cover your ass with something in writing.
As of today and following great Allister’s recommendation my Lion catalogs look like this using the InstallESD 10.7.3 (11D50)
*Java is optional
[b]10.7_vanilla.catalog[/b]
[code]OS Updates:
AirPortUtility6.0 ht*p://support.apple.com/downloads/DL1483/en_US/AirPortUtility6.0.dmg sha1:4e58a9e1af3ddefce843e49ef4b3f36c9c79793a
iTunes10.6 ht*p://appldnld.apple.com/iTunes10/041-3540.20120307.Defjr/iTunes10.6.dmg sha1:989eae5442d64dfc6dd4ce3ced38eba3fa9609c3
Java For Mac OS X 10.7 ht*p://support.apple.com/downloads/DL1421/en_US/JavaForMacOSX10.7.dmg sha1:7768e6aeb5adaa638c74d4c04150517ed99fed20[/code]
Recent Comments