Forum Replies Created
-
AuthorPosts
-
88gb525dxQK4gt6u
ParticipantMine seems to work ok but has the licensing problem. Still working on it
88gb525dxQK4gt6u
Participantnice catch.
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).
88gb525dxQK4gt6u
Participant[QUOTE][u]Quote by: cygnus2112[/u][p]
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;//system.log(“ShouldInstallPackage: running build_package_map ” + GetPackageMapDirectory());
system.runOnce(‘build_package_map’, GetPackageMapDirectory());//result = VolumeMeetsOSRequirementsTest();
//if (!result) {
// return result;
//}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);
}
}return true;
}[/code][code]function volumeHasUpdatableVersionTest()
{
return true;
}[/code]Still testing the final result to make sure no issues arise. Please comment if you find any
88gb525dxQK4gt6u
Participantmodified installer here:
[url]http://dl.dropbox.com/u/6496412/Office_2011_14.2.1_Update.dmg[/url]
88gb525dxQK4gt6u
ParticipantI’m working on it.
The debug log reads:[code]…
Working on folder 37 Office 2011 14.2.1 Update (10:39:33)
Mounting the package dmg: Office 2011 14.2.1 Update.dmg (/private/tmp/idmg_temp.CA74Nk/items-M703I9/37 Office 2011 14.2.1 Update) at: /private/tmp/idmg.QDvf/idmg_mp.0A2C
Mounted disk image from /instadmg/InstallerFiles/InstaUp2DatePackages/m1/Office 2011 14.2.1 Update.dmg at /private/tmp/idmg.QDvf/idmg_mp.0A2C
Installing Office 2011 14.2.1 Update.pkg
Apr 28 10:39:35 mycomputer.local installer[4384]: JS: Writing com.microsoft.updater, /tmp/com.microsoft.updater.root.1335598775641 to /tmp/com.microsoft.updater.root
Package name is Office 2011 14.2.1 Update
Installing at base path /private/tmp/idmg.QDvf/idmg_mp.LXSj
PHASE:Preparing for installation…
Apr 28 10:39:37 mycomputer.local installer[4384]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
Apr 28 10:39:37 mycomputer.local installer[4384]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/idmg.QDvf/idmg_mp.0A2C/Office%202011%2014.2.1%20Update.pkg/Contents/Packages/Office2011_all_quit_14.2.1.combo.pkg
Apr 28 10:39:37 mycomputer.local installer[4384]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/idmg.QDvf/idmg_mp.0A2C/Office%202011%2014.2.1%20Update.pkg/Contents/Packages/Office2011_en_readme_14.2.1.combo.pkg
Apr 28 10:39:37 mycomputer.local installer[4384]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/idmg.QDvf/idmg_mp.0A2C/Office%202011%2014.2.1%20Update.pkg/Contents/Packages/Office2011_en_solver_14.2.1.combo.pkg
Apr 28 10:39:37 mycomputer.local installer[4384]: Set authorization level to root for session
Apr 28 10:39:37 mycomputer.local installer[4384]: Will use PK session
Apr 28 10:39:37 mycomputer.local installer[4384]: Starting installation:
PHASE:Preparing the disk…
Apr 28 10:39:37 mycomputer.local installer[4384]: Configuring volume “Macintosh HD”
Apr 28 10:39:37 mycomputer.local installer[4384]: Preparing disk for local booted install.
Apr 28 10:39:37 mycomputer.local installer[4384]: Free space on “Macintosh HD”: 304.73 GB (304727580672 bytes).
Apr 28 10:39:37 mycomputer.local installer[4384]: Create temporary directory “/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.4384woojl6”
PHASE:Preparing Office 2011 14.2.1 Update…
Apr 28 10:39:37 mycomputer.local installer[4384]: IFPKInstallElement (3 packages)
Apr 28 10:39:37 mycomputer.local installer[4384]: Using authorization level of root for IFPKInstallElement
PHASE:Waiting for other installations to complete…
PHASE:Configuring the installation…
STATUS:
%2.229250
PHASE:Validating packages…
%97.750000
STATUS:Running installer actions…
Apr 28 10:39:38 mycomputer.local installer[4384]: Running install actions
STATUS:
PHASE:Finishing the Installation…
Apr 28 10:39:38 mycomputer.local installer[4384]: Removing temporary directory “/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.4384woojl6”
Apr 28 10:39:38 mycomputer.local installer[4384]: Finalize disk “Macintosh HD”
Apr 28 10:39:38 mycomputer.local installer[4384]: Notifying system of updated components
Apr 28 10:39:38 mycomputer.local installer[4384]:
Apr 28 10:39:38 mycomputer.local installer[4384]: **** Summary Information ****
Apr 28 10:39:38 mycomputer.local installer[4384]: Operation Elapsed time
Apr 28 10:39:38 mycomputer.local installer[4384]: —————————–
Apr 28 10:39:38 mycomputer.local installer[4384]: disk 0.00 seconds
Apr 28 10:39:38 mycomputer.local installer[4384]: script 0.00 seconds
Apr 28 10:39:38 mycomputer.local installer[4384]: zero 0.01 seconds
Apr 28 10:39:38 mycomputer.local installer[4384]: install 1.07 seconds
Apr 28 10:39:38 mycomputer.local installer[4384]: -total- 1.08 seconds
Apr 28 10:39:38 mycomputer.local installer[4384]:
STATUS:
%100.000000
PHASE:The software was successfully installed.
The install was successful.
“disk6” unmounted.
“disk6” ejected.
Unmounted the Package DMG image from /private/tmp/idmg.QDvf/idmg_mp.0A2C
Folder 37 Office 2011 14.2.1 Update done (10:39:41)
…[/code]88gb525dxQK4gt6u
ParticipantI 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-SW20BTW my iLife ’11 installation has that same message repeated many times and those applications also work fine.
nbalonso
88gb525dxQK4gt6u
ParticipantIt 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.dmginclude-file: 10.7_vanilla.catalog
include-file: xcode.catalog
include-file: iLife11_app.catalog
include-file: iLife11_Updates.catalog
include-file: Create_admin_users.catalog
include-file: Common_apps.catalogApple Updates:
System Settings:
Third Party Software:
bootpicker b0/bootpicker.dmg sha1:7d4e0b3c21b4b8f07890efba50d1a163a4b84475
GIMP-2.6.12 g1/GIMP-2.6.12.dmg sha1:5961dc5a62845a6a092528eb2d9a49cc9f22c563
SAPGui s9/SAPGui.pkg sha1:823889775f289c249587346b95c7735de892cea3
Lync_14.0.0 l3/Lync_14.0.0.dmg sha1:0a833e63e3c001637e6ba6daabb41f5ba8293bd6
Lync_14.0.1_Update l3/Lync_14.0.1_Update.dmg sha1:440b8d38fe4d1fbe80da29e7e985a46437ede2b3
Paintbrush p1/Paintbrush.dmg sha1:d81d5796cbbe0bc47d481b2d497f2380be02fa0dSoftware Settings:
firefox.generic f4/firefox.generic.pkg sha1:6ddf40dd932b53763d938c150123bda1a29f7c28kw-11577:CatalogFiles[/code]88gb525dxQK4gt6u
ParticipantLooks 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 checksumsnbalonso
88gb525dxQK4gt6u
ParticipantWell 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
Noel
88gb525dxQK4gt6u
Participant[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)
nbalonso
88gb525dxQK4gt6u
Participantyou can save the hassle of downloading the 3.8GB Lion again from the Mac App Store. The version still the same (hashes match)
In any case 11D50 is reported to work fine.
There is also a 443 revision on the svn
nbalonso
88gb525dxQK4gt6u
ParticipantI did understand your point.
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
nbalonso
88gb525dxQK4gt6u
ParticipantIt is working fine for me.
As you say it may have something to do with the default profile you are using.
You could try to delete it from the English.lproj folder and create a new test user. Then try to update from that user account
Noel
88gb525dxQK4gt6u
ParticipantI 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.
FYI I read it on http://images.apple.com/education/docs/IOS_5_Education_Deployment_Guide.pdf page 20
88gb525dxQK4gt6u
ParticipantAs 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][b]iLife11_Updates.catalog[/b]
[code]Third Party Software:
GarageBand 6.0.5 ht*p://support.apple.com/downloads/DL1507/en_US/GarageBand6.0.5Update.dmg sha1:81c15b9fd0acd0144df8713eef820bef5016c8a3
iDVD 7.1.2 ht*p://support.apple.com/downloads/DL1414/en_US/iDVD7.1.2Update.dmg sha1:fa370a94f12a31fe1a107d4624bfe580877d25c2
iMovie 9.0.4 ht*p://support.apple.com/downloads/DL1412/en_US/iMovie9.0.4Update.dmg sha1:5b2d0742bb5474746296f593b94313c64c73325d
iPhoto 9.1 ht*p://support.apple.com/downloads/DL1322/en_US/iPhoto9.1Update.dmg sha1:d4f3f38ff4000d30bd0c6ea4c4ef53497f62628a
iWeb 3.0.4 ht*p://support.apple.com/downloads/DL1413/en_US/iWeb304.dmg sha1:4cd66325ecbc90614ddce5e371dafc49f5624bb2
iPhoto 9.2.2 ht*p://support.apple.com/downloads/DL1508/en_US/iPhoto9.2.2Update.dmg sha1:37950433bf5d2b6ff4f95b259c67510928759698[/code] -
AuthorPosts
Recent Comments