- This topic has 119 replies, 30 voices, and was last updated 12 years, 1 month ago by
88gb525dxQK4gt6u.
-
AuthorPosts
-
April 27, 2012 at 5:26 pm #381810
Anthony Reimer
Participant[QUOTE][u]Quote by: n8felton[/u][p][i]With the release of 14.2.1, can we be be expecting an update to the patch to work with this new update?[/i][/p][/QUOTE]
Might not be necessary. To quote Microsoft’s web site:
“You can now deploy Office 2011 SP2 updates by using a command-line installation or by using tools that call the command line, such as Casper or Munki, on Mac OS X 10.7 (Lion) and on later versions of Mac OS X. ”
I think it would be worth a quick test without the patch.
April 27, 2012 at 5:34 pm #381811n8felton
ParticipantI tested with InstaDMG and had no luck. The logs state that it was installed, however, upon deploying and booting the image, the office install was still at 14.1.0.
Has anyone else been successful at slipstreaming Office 14.2.1 into a Lion image using InstaDMG?
April 28, 2012 at 7:04 am #38181288gb525dxQK4gt6u
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]April 29, 2012 at 2:34 pm #381813willy72
Participant[QUOTE][u]Quote by: yoshi[/u][p]I’m working on it.
The debug log reads:
[/p][/QUOTE]Your debug log is basically saying that the dist is not being changed from the default.
Something in ShouldInstallPackage is returning false.
May 1, 2012 at 6:28 am #38181588gb525dxQK4gt6u
Participantmodified installer here:
[url]http://dl.dropbox.com/u/6496412/Office_2011_14.2.1_Update.dmg[/url]
May 1, 2012 at 12:24 pm #381816Tim Sutton
Participant[QUOTE][u]Quote by: yoshi[/u][p]modified installer here:
[url]http://dl.dropbox.com/u/6496412/Office_2011_14.2.1_Update.dmg[/url][/p][/QUOTE]
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.
May 1, 2012 at 1:44 pm #38181788gb525dxQK4gt6u
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
May 1, 2012 at 2:58 pm #381819willy72
ParticipantI took a slightly different approach with a sledgehammer. 🙂
I modified the last patcher to also nuke the preflight scripts.
The core en update was giving a non-specific error in the preflight script. Reading through the code, I didn’t see anything that looked important, so I nuked them all.
Everything looks like it installed correctly. I’ll post back if it does not.
Also, the Lync 14.0.2 installer works without modification, which is fortunate as it comes as a flat package.
May 2, 2012 at 8:02 am #38182488gb525dxQK4gt6u
ParticipantMine seems to work ok but has the licensing problem. Still working on it
May 7, 2012 at 9:51 am #381838wadewei
Participant[QUOTE][u]Quote by: yoshi[/u][p]Mine seems to work ok but has the licensing problem. Still working on it[/p][/QUOTE]
Hi yoshi,
What’s your email address, I have a long debug about http://dl.dropbox.com/u/6496412/Office_2011_14.2.1_Update.dmg, but can not reply here, as it is say ing something like “Spam is detected, the post was deleted”.
Thanks,
/Wade
May 10, 2012 at 3:05 pm #381852mdspidle
Participantyoshi,
I applied your changes but the updater still doesn’t work for me. Here is the debug output from instadmg for that package:
Do you know what version of Office is required for the updater to work?
[code]
PackageKit: Executing script “./preflight” in /Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office 2011 14.2.2 Update.pkg/Contents/Packages/Office2011_all_quit_14.2.2.combo.pkg/Contents/Resources
PackageKit: Executing script “./preflight” in /Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office 2011 14.2.2 Update.pkg/Contents/Packages/Office2011_en_core_resources_14.2.2.combo.pkg/Contents/Resources
./preflight: Running preflight for /tmp/idmg.4ZYS/idmg_mp.YPhA
./preflight: 2012-05-10 09:03:33.735 package_updatable[18786:903] package_updatable – ERROR
PackageKit: Install Failed: PKG: pre-flight scripts for “com.microsoft.office.en.core_resources.pkg.14.2.2.update”
Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x108abce50 “An error occurred while running scripts from the package “Office2011_en_core_resources_14.2.2.combo.pkg”.” {
NSFilePath = “./preflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package U201cOffice2011_en_core_resources_14.2.2.combo.pkgU201d.”;
NSURL = “./Contents/Packages/Office2011_en_core_resources_14.2.2.combo.pkg — file://localhost/Users/admin/Desktop/SL-InstaDMG-2012/InstallerFiles/UCSD/Office%202011%2014.2.2%20Update.pkg/”;
PKInstallPackageIdentifier = “com.microsoft.office.en.core_resources.pkg.14.2.2.update”;
}
install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x108abce50 “An error occurred while running scripts from the package “Office2011_en_core_resources_14.2.2.combo.pkg”.”
%97.750000
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.)
Folder 43 Office 2011 14.2.2 Update done (09:03:37)
[/code]May 13, 2012 at 5:19 am #38185588gb525dxQK4gt6u
Participant[QUOTE][u]Quote by: mdspidle[/u][p]
Do you know what version of Office is required for the updater to work?
[/p][/QUOTE]
from http://support.microsoft.com/kb/2665351
(…”you must install the Microsoft Office for Mac 2011 14.1 Update before you install the Office for Mac 2011 14.2.2 Update. “…)June 19, 2012 at 1:48 pm #382490David
ParticipantAnyone have 14.2.2 working?
July 5, 2012 at 5:26 am #38257688gb525dxQK4gt6u
Participant@David I have given up for now in preparing our images with Office 2011 SP2 because of the two current bugs. One of them affects Exchange 2007 server as is my case so no SP2 for our clients yet.
This article is worth reading http://www.officeformachelp.com/2012/05/upgrade-to-service-pack-2-sp2-14-2-1/
July 5, 2012 at 11:00 am #382580joshmac777
Participantany different w/ 14.2.2 yoshi?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed