Home Forums Software InstaDMG Patcher for the Office 2011 Installer

Viewing 15 posts - 91 through 105 (of 120 total)
  • Author
    Posts
  • #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.

    #381811
    n8felton
    Participant

    I 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?

    #381812
    88gb525dxQK4gt6u
    Participant

    I’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]

    #381813
    willy72
    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.

    #381815
    88gb525dxQK4gt6u
    Participant

    modified installer here:

    [url]http://dl.dropbox.com/u/6496412/Office_2011_14.2.1_Update.dmg[/url]

    #381816
    Tim 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.

    #381817
    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

    #381819
    willy72
    Participant

    I 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.

    #381824
    88gb525dxQK4gt6u
    Participant

    Mine seems to work ok but has the licensing problem. Still working on it

    #381838
    wadewei
    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

    #381852
    mdspidle
    Participant

    yoshi,

    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]

    #381855
    88gb525dxQK4gt6u
    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. “…)

    #382490
    David
    Participant

    Anyone have 14.2.2 working?

    #382576
    88gb525dxQK4gt6u
    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/

    #382580
    joshmac777
    Participant

    any different w/ 14.2.2 yoshi?

Viewing 15 posts - 91 through 105 (of 120 total)
  • You must be logged in to reply to this topic.

Comments are closed