Adobe Reader 11 install error

849 views
Skip to first unread message

nate barrett

unread,
Jan 15, 2013, 11:48:33 AM1/15/13
to munk...@googlegroups.com
I have been trying to push out Adobe Reader 11 to my client computers. I keep getting an error when it runs the installer. Output from MunkiWebAdmin is below. This happens if Adobe Reader X has already been installed previously. I added the remove bash script piece that is recommended on the wiki page. I have re-downloaded the installer and cleared the packages out of Munki to no avail. Any ideas or solutions? 

------------------------------------------------------------------------------
installer: Package name is Adobe Reader XI (11.0.01)
installer: Installing at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing Adobe Reader XI (11.0.01) …
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.175000
installer:PHASE:Writing files…
installer:%3.571926
installer:PHASE:Writing files…
installer:%3.571926
installer:PHASE:Writing files…
installer:%3.571926
installer:PHASE:Writing files…
installer:%3.571926
installer:PHASE:Writing files…
installer:%3.571926
installer:PHASE:Writing files…
installer:%4.394076
installer:PHASE:Writing files…
installer:%5.216225
installer:PHASE:Writing files…
installer:%6.860525
installer:PHASE:Writing files…
installer:%9.326974
installer:PHASE:Writing files…
installer:%41.553823
installer:PHASE:Running package scripts…
installer:%41.964765
installer:PHASE:Running package scripts…
installer:%42.378534
installer:PHASE:Running package scripts…
installer:%42.786620
installer:PHASE:Running package scripts…
installer:%43.035113
installer:PHASE:Running package scripts…
installer:%43.035113
installer:PHASE:Running package scripts…
installer:%97.750000
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
------------------------------------------------------------------------------

Gregory Neagle

unread,
Jan 15, 2013, 12:04:06 PM1/15/13
to munk...@googlegroups.com
The generic advice is to look at the installer logs for clues as to why the package scripts might be failing. Start with /var/log/install.log, though the Adobe scripts could write anywhere.

If that doesn't lead you anywhere, start looking at the package scripts themselves.

-Greg

nate barrett

unread,
Jan 15, 2013, 12:07:00 PM1/15/13
to munk...@googlegroups.com
Thanks. I will give those a look. I forgot to mention that if I run the installer normally from the download on the client computer then it will install no problem. So something with the install from Munki is having issues.

Gregory Neagle

unread,
Jan 15, 2013, 12:26:38 PM1/15/13
to munk...@googlegroups.com
I have not yet tried to deploy the 11.0.01 release, so it's more than possible Adobe has changed their package scripts and introduced a new issue.

Managing Adobe installs can be a large time suck.

-Greg

nate barrett

unread,
Jan 15, 2013, 12:27:40 PM1/15/13
to munk...@googlegroups.com
I have come to find that out. Most likely just going to go back to 10 until I can do some more investigation.
--
Nate Barrett

Gregory Neagle

unread,
Jan 15, 2013, 12:31:28 PM1/15/13
to munk...@googlegroups.com
11.0 deployed fine using the same techniques as 10.x.

FWIW.

-Greg

nate barrett

unread,
Jan 15, 2013, 12:32:42 PM1/15/13
to munk...@googlegroups.com
Sweet. Wonder what is going on then. Off to investigate more. Thanks for the help.

Gregory Neagle

unread,
Jan 15, 2013, 12:34:10 PM1/15/13
to munk...@googlegroups.com
Lately, Adobe has been mucking up their installers with add-ons that offer to install Google Chrome and set it as your default browser.

I wouldn't be terribly surprised to find out this is a variation on that.

-Greg

Gregory Neagle

unread,
Jan 15, 2013, 1:10:16 PM1/15/13
to munk...@googlegroups.com
I just downloaded and munkiimported the Adobe Reader 11.0.01 release.

I added the preinstall_script to the pkginfo as I've done for all 10 and 11 releases:

<key>preinstall_script</key>
<string>#!/bin/sh
if [ -e "/Applications/Adobe Reader.app" ]; then
rm -r "/Applications/Adobe Reader.app"
fi
exit 0
</string>

Munki installed it without issue over an existing Adobe Reader XI 11.0.

-Greg

Hannes Juutilainen

unread,
Jan 15, 2013, 1:34:58 PM1/15/13
to munk...@googlegroups.com
I'm deploying this successfully too with the same preinstall_script that Greg posted. Nate, could you post your pkginfo file for further advice?

--
Hannes Juutilainen

nate barrett

unread,
Jan 15, 2013, 2:00:51 PM1/15/13
to munk...@googlegroups.com
Here is my Pkginfo


<?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">
<dict>
<key>preinstall_script</key>
<string>#!/bin/sh
if [ -e "/Applications/Adobe Reader.app" ]; then
rm -r "/Applications/Adobe Reader.app"
fi
exit 0
</string>

<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>student</string>
<string>teacher</string>
</array>
<key>description</key>
<string></string>
<key>display_name</key>
<string>Adobe Reader 11</string>
<key>installed_size</key>
<integer>414871</integer>
<key>installer_item_hash</key>
<string>d2cae4983bf0482f8f833c6174347e98f432b6bb923b4676208ea9109bce37d5</string>
<key>installer_item_location</key>
<string>apps/adobe/AdbeRdr11001_en_US.dmg</string>
<key>installer_item_size</key>
<integer>78736</integer>
<key>minimum_os_version</key>
<string>10.4.0</string>
<key>name</key>
<string>Adobe Reader XI Installer</string>
<key>receipts</key>
<array>
<dict>
<key>installed_size</key>
<integer>405567</integer>
<key>packageid</key>
<string>com.adobe.acrobat.reader.11001.reader.app.pkg.en_US</string>
<key>version</key>
<string>11.0.01</string>
</dict>
<dict>
<key>installed_size</key>
<integer>1076</integer>
<key>packageid</key>
<string>com.adobe.acrobat.reader.11001.reader.browser.pkg.en_US</string>
<key>version</key>
<string>11.0.01</string>
</dict>
<dict>
<key>installed_size</key>
<integer>8228</integer>
<key>packageid</key>
<string>com.adobe.acrobat.reader.11001.reader.appsupport.pkg.en_US</string>
<key>version</key>
<string>11.0.01</string>
</dict>
</array>
<key>uninstall_method</key>
<string>removepackages</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>11.0.01</string>
</dict>
</plist>

Hannes Juutilainen

unread,
Jan 15, 2013, 2:33:18 PM1/15/13
to munk...@googlegroups.com
Thanks, nothing stands out from that. The reader installer package has some interesting preflight/postflight scripts and they should be pretty verbose about errors. Do you get anything interesting in /var/log/install.log (as Greg already suggested earlier)?

I also have:

<key>blocking_applications</key>
<array>
    <string>Adobe Reader</string>
</array>

in my pkginfo to make sure munki is not trying to install while Reader is running.

--
Hannes

nate barrett

unread,
Jan 15, 2013, 2:38:27 PM1/15/13
to munk...@googlegroups.com
Okay, here is the log file from /var/log/install.log. Anything jump out to anyone?

 Marker - Jan 15, 2013 1:36:12 PM
Jan 15 13:36:38 studentmac-35 installer[10133]: Product archive /private/tmp/dmg.ztMBGE/Adobe Reader XI Installer.pkg trustLevel=202
Jan 15 13:36:39 studentmac-35 installer[10133]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
Jan 15 13:36:39 studentmac-35 installer[10133]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg
Jan 15 13:36:39 studentmac-35 installer[10133]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#browserPlugin.pkg
Jan 15 13:36:39 studentmac-35 installer[10133]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#support.pkg
Jan 15 13:36:39 studentmac-35 installer[10133]: Set authorization level to root for session
Jan 15 13:36:39 studentmac-35 runner[10136]: Administrator authorization granted.
Jan 15 13:36:39 studentmac-35 installer[10133]: Will use PK session
Jan 15 13:36:39 studentmac-35 installer[10133]: Starting installation:
Jan 15 13:36:39 studentmac-35 installer[10133]: Configuring volume "Mac HD"
Jan 15 13:36:39 studentmac-35 installer[10133]: Preparing disk for local booted install.
Jan 15 13:36:39 studentmac-35 installer[10133]: Free space on "Mac HD": 482.26 GB (482255921152 bytes).
Jan 15 13:36:39 studentmac-35 installer[10133]: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.10133Do7Y1w"
Jan 15 13:36:39 studentmac-35 installer[10133]: IFPKInstallElement (3 packages)
Jan 15 13:36:39 studentmac-35 installer[10133]: Using authorization level of root for IFPKInstallElement
Jan 15 13:36:39 studentmac-35 installd[10138]: PackageKit: ----- Begin install -----
Jan 15 13:36:39 studentmac-35 installd[10138]: PackageKit: request=PKInstallRequest <3 packages, destination=/>
Jan 15 13:36:40 studentmac-35 installd[10138]: PackageKit: packages=(
   "PKLeopardPackage <file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg>",
   "PKLeopardPackage <file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#browserPlugin.pkg>",
   "PKLeopardPackage <file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#support.pkg>"
)
Jan 15 13:36:40 studentmac-35 installd[10138]: PackageKit: Extracting file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Applications, uid=0)
Jan 15 13:36:41 studentmac-35 installd[10138]: PackageKit: Extracting file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#browserPlugin.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Internet Plug-Ins, uid=0)
Jan 15 13:36:41 studentmac-35 installd[10138]: PackageKit: Extracting file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#support.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root/Library/Application Support, uid=0)
Jan 15 13:36:42 studentmac-35 installd[10138]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.64QXJk/Scripts/com.adobe.acrobat.reader.11001.reader.app.pkg.en_US.iasozG
Jan 15 13:36:43 studentmac-35 installd[10138]: ./preinstall: Existing Adobe Reader.app at /Applications has a lower version: 10.1.3. Moving it to Trash.
Jan 15 13:36:43 studentmac-35 installd[10138]: ./preinstall: Moving existing Adobe Reader.app to Trash as Adobe Reader.app
Jan 15 13:36:43 studentmac-35 installd[10138]: ./preinstall: mv: rename /Applications/Adobe Reader.app to /var/root/.Trash/Adobe Reader.app: No such file or directory
Jan 15 13:36:43 studentmac-35 installd[10138]: ./preinstall: ERROR: Could not move existing Adobe Reader.app to Trash.
Jan 15 13:36:43 studentmac-35 installd[10138]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Adobe Reader XI Installer.pkg”." UserInfo=0x109177e90 {NSFilePath=./preinstall, NSURL=file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg, PKInstallPackageIdentifier=com.adobe.acrobat.reader.11001.reader.app.pkg.en_US, NSLocalizedDescription=An error occurred while running scripts from the package “Adobe Reader XI Installer.pkg”.} {
   NSFilePath = "./preinstall";
   NSLocalizedDescription = "An error occurred while running scripts from the package \U201cAdobe Reader XI Installer.pkg\U201d.";
   NSURL = "file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg";
   PKInstallPackageIdentifier = "com.adobe.acrobat.reader.11001.reader.app.pkg.en_US";
}
Jan 15 13:36:43 studentmac-35 installer[10133]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Adobe Reader XI Installer.pkg”." UserInfo=0x7fd90b880840 {NSFilePath=./preinstall, NSURL=file://localhost/private/tmp/dmg.ztMBGE/Adobe%20Reader%20XI%20Installer.pkg#application.pkg, PKInstallPackageIdentifier=com.adobe.acrobat.reader.11001.reader.app.pkg.en_US, NSLocalizedDescription=An error occurred while running scripts from the package “Adobe Reader XI Installer.pkg”.}
Jan 15 13:36:44 studentmac-35 installer[10133]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Gregory Neagle

unread,
Jan 15, 2013, 2:42:20 PM1/15/13
to munk...@googlegroups.com
Yes:

Gregory Neagle

unread,
Jan 15, 2013, 2:49:28 PM1/15/13
to munk...@googlegroups.com
Did you rebuild your catalogs after adding the preinstall_script to your pkginfo?

Can you verify your preinstall_script is running?

Here's the part of ManagedSoftwareUpdate.log showing a successful install, including the preinstall_script:

Jan 15 2013 10:01:48 -0800 ### Beginning managed installer session ###
Jan 15 2013 10:01:48 -0800 Processing installs
Jan 15 2013 10:01:48 -0800     Running preinstall_script for AdobeReader
Jan 15 2013 10:01:48 -0800 Running preinstall_script for AdobeReader was successful.
Jan 15 2013 10:01:48 -0800 Installing Adobe Reader XI (1 of 1)
Jan 15 2013 10:01:48 -0800     Mounting disk image AdbeRdr11000_en_US.dmg
Jan 15 2013 10:01:51 -0800 Installing  Adobe Reader XI  from Adobe Reader XI Installer.pkg
Jan 15 2013 10:01:53 -0800  Package name is  Adobe Reader XI 
Jan 15 2013 10:01:53 -0800  Installing at base path /
Jan 15 2013 10:01:53 -0800     Preparing for installation…
Jan 15 2013 10:01:53 -0800     Preparing the disk…
Jan 15 2013 10:01:53 -0800     Preparing  Adobe Reader XI …
Jan 15 2013 10:01:53 -0800     Waiting for other installations to complete…
Jan 15 2013 10:01:53 -0800     Configuring the installation…
Jan 15 2013 10:01:53 -0800     Writing files…
Jan 15 2013 10:01:54 -0800     Running package scripts…
<snip>
Jan 15 2013 10:02:06 -0800     Running package scripts…
Jan 15 2013 10:02:07 -0800     Validating packages…
Jan 15 2013 10:02:08 -0800     Running installer actions…
Jan 15 2013 10:02:08 -0800     Finishing the Installation…
Jan 15 2013 10:02:08 -0800     The software was successfully installed.
Jan 15 2013 10:02:08 -0800  The install was successful.
Jan 15 2013 10:02:08 -0800 Install of  Adobe Reader XI  was successful.
Jan 15 2013 10:02:08 -0800 ###    End managed installer session    ###

-Greg

nate barrett

unread,
Jan 15, 2013, 3:31:22 PM1/15/13
to munk...@googlegroups.com
Okay. I started from scratch added the remove script and rebuilt the catalog and I now have a working installer! Thanks for all the help. 

Nelson B

unread,
Aug 11, 2015, 5:40:08 PM8/11/15
to munki-dev
for those with issues with Reader 11.0.11 and greater 

Nelson B

unread,
Aug 11, 2015, 5:42:16 PM8/11/15
to munki-dev

thanks to greg, tim, and @choules, and anyone else who I'm missing.  this has been driving me crazy. 

Gregory Neagle

unread,
Aug 11, 2015, 5:44:54 PM8/11/15
to munk...@googlegroups.com
A gentle reminder that before autopkg, Mac admins would go to vendor websites, find updates manually, download them, and import them into Munki (or other management systems).

If autopkg isn’t doing what you need, you can _still_ use this time-honored method.

-Greg

--
Find related discussion groups here:
https://github.com/munki/munki/wiki/Discussion-Group
---
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
To post to this group, send email to munk...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages