Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

How to update a modified Microsoft Office package Apps
The MS Office 2008 12.1.2 updater does a pre-install check to see if you have the previous versions of all of the files that it will update. So if you had previously removed some of the language-specific files (e.g. using the third-party utility Monolingual), this pre-install check may fail, as some of the updated files are language-specific (e.g. Dutch & German).

The instructions below will allow you to run the update by editing the pre-install script to bypass the check for previous versions of the files. (The alternative is to do a complete reinstall of MS Office -- to get back the language-specific files that you removed -- and then reapply the updates. That would certainly be the safer course, but I haven't seen any problems after having followed the below instructions on my Mac with OS X 10.5.4).

Here's what I did:
  1. Copy the file Office 2008 12.1.2 Update.mpkg from the mounted DMG to some other location -- e.g. to your Desktop.
  2. Use Finder's Action (gear) menu or contextual menu to Show Package Contents on the above copy of the .mpkg file. Navigate to the Contents » Resources folder, where you should see a file named package_updatable. It is probably listed as a Unix executable file.
  3. Open this file in your favourite text editor (e.g. Text Wrangler) by using the File » Open menu item in that text editor application, or by dragging the file on top of the text editor's icon in the Dock. You will see that this file is a Python script. Look for the lines in the script that look like this:
       if not os.path.exists(file_path):
           break
    Change the break to be continue:
       if not os.path.exists(file_path):
           continue
    Then save your changes.
That's it; in the Finder, double-click on the copy of the .mpkg file that you modified, and it it should work now.

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.17 / 5
  You rated: 3 / 5 (6 votes cast)
 
[19,209 views]  

How to update a modified Microsoft Office package | 20 comments | Create New Account
Click here to return to the 'How to update a modified Microsoft Office package' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to update a modified Microsoft Office package
Authored by: Dr. T on Aug 13, '08 10:03:46AM

It would be nice if Microsoft would write installers that ask you which languages you want. Then this upgrade hassle would not exist for those who need to pare down their applications.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: wschnaer on Aug 13, '08 10:36:49AM

I tried your method and it didn't work on Office 12.1.2. However, what did work was:

Open the file "office_updatable" in a text editor
Find the two lines reading:

if (status!=0):
sys.exit(-1)

put the pound sign (#) at the beginning of each line, thus transforming them into non-executing comments.

Save the file, pressing the "Overwrite" button when you are informed the file is protected.


Now, when I ran the installer, there were no problems.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: RichB on Aug 16, '08 02:19:10PM

Thanks! This extra step fixed it for me. I have Macaroni set to periodically remove extra language localizations.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: vykor on Aug 13, '08 12:18:21PM

Thanks! Saved me from a reinstall.

It seems poking into application internals will become more and more dangerous on OS X, between these sort of installer checks and signed binaries becoming more important. I suppose it is a good thing. There is no good way to distinguish between intentional user modification and malicious tampering of an app package, from the perspective of the OS.

The Mac has come a long way since when you could fire up ResEdit and change around program strings and resources at will. Going forward, use of tools that modify application packages should probably be carefully reconsidered, if not simply considered harmful.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: wesley.spikes on Aug 13, '08 12:22:58PM

Guys, do read the notes on this package (Microsoft Knowledgebase). It states that You MUST have installed all prior updates to installing this one. This is important to note, as some updates build upon each other for added functionality, and need a file included only in a prior update to install correctly.

There was a modification posted above (to the office_updatable file) that I HIGHLY RECCOMEND NOT DOING. If you do this, you can cause severe damage to your office installation. Be warned.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: zo219 on Aug 14, '08 12:25:19AM

One, a reminder: we are not all guys here.

Two, thanks for the caution but who would be worried about hosing their Office install. You do have the DVD, right?



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: KingRocky on Aug 13, '08 12:55:30PM

AARRG!! ONE DAY LATE!!

I just finished removing, re-installing and updating Office on three Macs last night!



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: mael on Aug 13, '08 01:12:54PM

THANK!! YOU!!!

That really helped me out. And it worked fine with 12.1.2.



[ Reply to This | # ]
Error message from the MS Office updater
Authored by: hayne on Aug 13, '08 07:37:03PM
By the way, the error message from the MS Office updater that I got was the following:
You cannot install Office 2008 12.1.2 Update on this volume. A version of the software required to install this update was not found on this volume.
The above error message can be taken as a sign that the procedure I outlined in the hint above might be useful - especially if you know that you have previously removed some language-specific files using Monolingual or similar utilities.

[ Reply to This | # ]
Be sure that you have installed the previous updater
Authored by: hayne on Aug 13, '08 07:42:21PM

I ought to have said that you should only apply this procedure if you are sure that (as explained by Microsoft's instructions) you have previously applied the 12.1.1 update to your MS Office install.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: nanoboy on Aug 14, '08 09:41:12AM
Great hints!

I wasn't able to update to 12.1.1 from 12.1.0 and I've just used this hint to update to both 12.1.1 then 12.1.2.

I have to reiterate what others have mentioned already that you must update to 12.1.1 first before you could do 12.1.2.

the .dmg for both updates can be downloaded from here:
http://www.microsoft.com/mac/downloads.mspx?pid=Mactopia_Office2008&fid=C75DB26D-D3BC-49A4-8951-DE27AE58B5A1#viewer

Then you can do the modification as described by the hints above.

Thanks again!

P.S. As soon as Open Office 3 for Mac is out, I won't use Word anymore!!



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: kencohen on Aug 14, '08 11:27:52AM

It only worked for me after I also replaced the two checksum breaks with "continue".



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: netgoddess on Aug 15, '08 09:53:48AM

this rocks this house. thanks for the tip. It worked for me. I used Monolingual to remove languages and I guess that's what "broke" the Microsoft Update system.



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: DavidB2 on Aug 15, '08 09:23:34PM

I opened <office_updatable> in TextWrangler, but couldn't modify it because it was locked, and the lock icon was greyed out.

How can I unlock it (OS X 10.5.4)?

David



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: DavidB2 on Aug 16, '08 10:10:16AM

Sorry for my obtuseness--I hadn't read the original post carefully. I hadn't copied the Office 2008 12.1.2 Update.mpkg to the Desktop before trying to modifying it. When I did so, I had no problem.

The original hint, to modify <package_updatable> worked fine. When I tried modifying <office_updatable>, though, Word would open and then immediately close. (Excel and PowerPoint opened okay though.)

So, thank you to the original poster for this time-saving hint.

David



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: noahchumleigh on Aug 19, '08 01:52:32PM

wschnaer‘s suggestion worked but haynes did not. However when I say worked I meanthe updater went through its paces but my copy of Office Word is still 12.1.1 when you look at "about Word‘ in the menu



[ Reply to This | # ]
How to update a modified Microsoft Office package
Authored by: mandehu on Sep 09, '08 01:19:51AM

Can't even get the mucking Updater. Clicking on the link (at VT or the M$ siye) all I get is
"Internet Explorer cannot display the webpage
[snip]"



[ Reply to This | # ]
same method works for the 12.1.3 updater
Authored by: hayne on Oct 15, '08 10:02:10PM

Exactly the same instructions (as in the original "hint" above) worked fine for me with the 12.1.3 updater.



[ Reply to This | # ]
same method works for the 12.1.3 updater
Authored by: DavidB2 on Oct 17, '08 09:00:51PM

I successfully used the original hint to update to 12.1.2, but when I try it for 12.1.3, the updater asks which application to open itself with. I don't seem to find a likely candidate. What application should I use?

Thank you,

David



[ Reply to This | # ]
same method works for the 12.1.3 updater
Authored by: DavidB2 on Oct 18, '08 10:32:55AM

I googled around and found the answer. After I changed "Open with" in Get Info to Installer.app, everything went fine.

I'm still not sure why Installer.app wasn't the default for the updater though.



[ Reply to This | # ]