Posted on 09-15-2011 07:12 AM
Hello all,
I would like to deploy Office 2011 14.1.3 update the same way I did in the past for version 14.1 and 14.1.2.
I simply added the original MS installer (mpkg) to Casper Admin and created a policy to install it at user login.
It sounds like the error occurs while/after the installer checks for requirements/previous installed versions.
I can successfully (manually) install the original 14.1.3 mpkg over the same computer (with Office 14.1.2).
I have already created another pkg with Composer (new/modified snapshot) but I would rather use the original.
Has anyone already seen something like this?
Many thanks for your help as always,
Ciao
Carlo
An error occurred executing the policy "UPDATE Office 2011 14.1.3 - INSTALL" on the computer "CASPER CLIENT TEST".
Event log from the policy:
/usr/sbin/jamf is version 8.1
Executing Policy UPDATE Office 2011 14.1.3 - INSTALL...
Mounting afp://MyCasperServer/CasperShare to /Volumes/CasperShare...
Copying Office 2011 14.1.3 Update.mpkg...
Installing Office 2011 14.1.3 Update.mpkg...
Installation failed. The installer reported: /Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/build_package_map:6: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3, Popen4
/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/volume_updatable:5: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3
2011-09-15 14:33:59.074 find_office[1730:903] /
2011-09-15 14:33:59.077 find_office[1730:903] 14.1.0.0.0
2011-09-15 14:33:59.078 find_office[1730:903] 14.1.2.999999.9
2011-09-15 14:33:59.081 find_office[1730:903] CheckPath: "{ENV:RSTargetMount}/Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework"
2011-09-15 14:33:59.082 find_office[1730:903] CheckPath found the following results:
2011-09-15 14:33:59.093 find_office[1730:903] /Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework (14.1.2.110505.0)
/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/office_updatable:5: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3
/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/pu_script:4: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3
/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/pu_script:4: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3
/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/pu_script:4: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import Popen3
------Repeats the above line "/Library/Application Support/JAMF/Downloads/Office 2011 14.1.3 Update.mpkg/Contents/Resources/pu_script:4:DeprecationWarning: The popen2….." many times------------
installer: Package name is Office 2011 14.1.3 Update
installer: Installing at base path /
installer: The install failed (Installer ha incontrato un errore che ha impedito l'installazione. Contact the software manufacturer for assistance)
Unmounting file server...
You can access the full details of this log at:
Posted on 09-15-2011 03:25 PM
I can report the same issue. It's the darned QuitApps script. Have to use an installer choices file to override it.
On Sep 15, 2011, at 9:12 AM, Anselmi, Carlo (MLN-IPG) wrote:
Create a file like the one below and name it something like noquit.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>attributeSetting</key>
<integer>0</integer>
<key>choiceAttribute</key>
<string>selected</string>
<key>choiceIdentifier</key>
<string>quit</string>
</dict>
</array>
</plist>
Copy it into the Office 2011 14.1.3.mpkg/Contents folder.
Compress the .mpkg into a zip file, drag it into Composer, have it install into /private/tmp
Using Composer, create a postflight script that looks something like this:
#!/bin/sh
cd /private/tmp
unzip Office 2011 14.1.3 Update.mpkg.zip
installer -pkg Office 2011 14.1.3 Update.mpkg -target / -applyChoiceChangesXML Office 2011 14.1.3 Update.mpkg/Contents/noquit.xml
exit 0
If you're not sure how to do create this postflight script in Composer, more details in William Smith's article on OfficeForMacHelp:
http://www.officeformachelp.com/office/administration/deployment/casper/
Save this as a .pkg, try installing it manually on a machine to ensure it works (leave Safari open to ensure you're not getting nagged to quit it). Then, create a policy to deploy this pkg. Be sure to test this methodology on at least one client machine first before widely deploying...
--Robert
Posted on 09-15-2011 04:47 PM
So it's only an issue if safari or the office suite are running?
Regards,
Ben.
Posted on 09-15-2011 05:50 PM
I believe it looks for any MS process, Safari and Firefox. The simple solution may be to run a pre-script that simply kills those processes if they're running.
j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436
Posted on 09-15-2011 06:46 PM
No - on the machine I tested, no user was logged in, and it still tried to run QuitApps - and so the policy hung for a few hours until I had time to look into it/killed the jamf process.
On Sep 15, 2011, at 6:47 PM, Ben Toms wrote:
--Robert
Posted on 09-23-2011 09:29 AM
I'm knocking the rust off... for the 14.1.2 update (which also had the QuitApps mechanism) we simply removed the GUI vs command line install logic from
Office 2011 14.1.2 Update.mpkg/Contents/Packages/Office2011_all_quit_14.1.2.combo.pkg/Contents/Resources/preflight.
j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436