Sudo -u $current_user defaults write "$dock_plist_path" "2008\\Default Save\\Default Save\\Default Format" "Microsoft PowerPoint 98 Presentation" Sudo -u $current_user defaults write "$dock_plist_path" "2008\\Default Save\\Default Format" -int 57 Sudo -u $current_user defaults write "$dock_plist_path" "2008\\Default Save\\Default Format" "Doc97" # Check if we're running at the login screenĭock_plist_path="/System/Library/User Template/English.lproj/Library/Preferences/"Įcho "$dock_plist_path" Here are the lines that you need to add to the postflight script, if you want to change the default file formats:ĭock_plist_path="/Users/$USER/Library/Preferences/" It is possible to add a few more lines to the postflight script to automate this as well. You will also need to provide documentation that instructs the user how to change the default file formats from docx, xlsx, pptx, to the older doc, xls, ppt formats. Also, while the updates are being installed, the installer progress bar is extremely inaccurate, and a few of Microsoft's updates take a long, long time (15 minutes). The disadvantage is that you need to be comfortable with these short hacking tricks. A package created this way can be easily pushed via ARD. The advantage of this method is that it does a lot of work for the end-user - it automates the installation of the updates. sudo installer -dumplog -verbose -pkg "$1/Contents/Packages"/Office2008-12.1.0.mpkg -target / Add a new line for each new update you want to slipstream. At the end of the postflight file, BEFORE "exit 0", paste a line, such as the one below, for each mpkg update that you copied over (the line below is just an example, make sure you replace "Office2008-12.1.0.mpkg" with whatever is the name of the first update you'd like to slipstream.Open postflight with TextEdit or another plain text editor. Inside the Resources folder there will be a file called "postflight".Right-click the Office Insaller.mpkg and select "Show Package Contents", then open Contents => Packages Resources.Open the disk image and you should see an "mpkg" file in it. # The updates will probably arrive in the shape of a disk image. The idea is to grab the most recent combined update to help minimize the amount of updates that the customer needs to do. # You'll need to visit and check the system requirements for the latest updates. # Download the first service pack, and the last combo update (get them directly from the Microsoft Mactopie site, do not use Microsoft AutoUpdate) : # Copy the Office Installer.mpkg from the install CD (or the disk image) to that folder. Hacking the Installer Provided by Microsoft Also, if you are distributing this via ARD, you need to push multiple packages - the base install (Office Install.mpkg), and each update package needs to go separately. The disadvantage is that it leaves a lot of work for the end-user. The advantage of this method is that it requires no scripting or modification of the installer packages. In this shape, the folder can be burned to a CD, or copied on a network drive. The contentes of your Office 2008 - Mac folder should look like this:.When the installation finishes, the user should open the Updates folder and double-click the first update, follow on-screen instructons, repeat with remaining updates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |