| dead2sin |
 |
Friday, June 11 2010 @ 06:58 am MDT (Read 504 times) |
|
|

Server Wrangler
Status: offline
Registered: 02/09/09
Posts: 148
|
Apparently, Adobe saw fit to change out they made the Flash Player installer. It is now a .app. No problem I thought, because you can dig in the .app and find the Adobe Flash Player.pkg installer file.
I put the Adobe Flash Player.pkg into InstaDMG and ran it. Guess what? It doesn't work! Adobe did something differently with this .pkg, even thought it has ALWAYS worked in the past for me. Craptacular. Here is the debug log:
Working on folder 18 (07:38:29)
Installing Adobe Flash Player.pkg from ./InstallerFiles/CustomPKG/18 (18)
Package name is PlugIn
Installing at base path /private/tmp/InstaDMG_temp_folder.YRPdk7/mount_point.XsNvZl
PHASE:Preparing for installation…
-[IFPKGDerivedDocument sortedPackageLocations]: result = (
"file://localhost"
)
-[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
-[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/macadmin/Desktop/InstaDMG1.6b2/./InstallerFiles/CustomPKG/18/Adobe%20Flash%20Player.pkg
Will use PK session
Starting installation:
PHASE:Preparing the disk…
Configuring volume "Macintosh HD"
Preparing disk for local booted install.
Free space on "Macintosh HD": 119.57 GB (119573520384 bytes).
Create temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.55647Men6c9"
IFPKInstallElement (1 packages)
PHASE:Preparing PlugIn…
PHASE:Waiting for other installations to complete…
PackageKit: ----- Begin install -----
PackageKit: request=PKInstallRequest <1 packages, destination=/tmp/InstaDMG_temp_folder.YRPdk7/mount_point.XsNvZl>
PackageKit: packages=(
"PKJaguarPackage <file://localhost/Users/macadmin/Desktop/InstaDMG1.6b2/./InstallerFiles/CustomPKG/18/Adobe%20Flash%20Player.pkg>"
)
PHASE:Configuring the installation…
STATUS:
PackageKit: Extracting /Users/macadmin/Desktop/InstaDMG1.6b2/InstallerFiles/CustomPKG/18/Adobe Flash Player.pkg/Contents/Archive.pax.gz (destination=/private/tmp/InstaDMG_temp_folder.YRPdk7/mount_point.XsNvZl/.PKInstallSandbox-tmp/Root/Library/Internet Plug-Ins, uid=0)
PHASE:Writing files…
%8.395180
PackageKit: Shoving /private/tmp/InstaDMG_temp_folder.YRPdk7/mount_point.XsNvZl/.PKInstallSandbox-tmp/Root (1 items) to /tmp/InstaDMG_temp_folder.YRPdk7/mount_point.XsNvZl
PackageKit: Executing script "./postflight" in /Users/macadmin/Desktop/InstaDMG1.6b2/InstallerFiles/InstaUp2DatePackages/Adobe Flash Player.pkg/Contents/Resources
PackageKit: Install Failed: PKG: post-flight scripts for "com.adobe.pkg.FlashPlayer"
Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x100455220 "An error occurred while running scripts from the package “Adobe Flash Player.pkg”." {
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package U201cAdobe Flash Player.pkgU201d.";
NSURL = "file://localhost/Users/macadmin/Desktop/InstaDMG1.6b2/./InstallerFiles/CustomPKG/18/Adobe%20Flash%20Player.pkg";
PKInstallPackageIdentifier = "com.adobe.pkg.FlashPlayer";
}
install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x100455220 "An error occurred while running scripts from the package “Adobe Flash Player.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 18 done (07:38:34)
Any ideas?
|
| |
|
|
| dead2sin |
 |
Friday, June 11 2010 @ 07:30 am MDT |
|
|

Server Wrangler
Status: offline
Registered: 02/09/09
Posts: 148
|
But wait, there is more!
The postflight script is a compiled binary. So its a black box, can't tell what it does. On top of that, the payload delivers "Flash Player.plugin.lzma" to /Library/Internet Plug-ins/, so if I had to guess, the postflight removes that extra .lzma from the end so that it can work properly. Adobe is getting really frustrating with their installers. Why in the world would they do this?
|
| |
|
|
| sgstuart |
 |
Saturday, June 12 2010 @ 07:18 pm MDT |
|
|

Help Desk
Status: offline
Registered: 07/18/05
Posts: 54
|
Hi all,
I was just doing the same install with the latest and greatest package from Adobe, and I get an error as well. I can only assume at this point that it is the same as yours. On the screen it just hangs, so I guess I will be cancelling the install at this point, it has been working on that folder for 2+ hours now.
Thanks,
Steven Stuart
|
| |
|
|
| hkim823 |
 |
Sunday, June 13 2010 @ 02:22 pm MDT |
|
|

End User
Status: offline
Registered: 12/11/09
Posts: 23
|
I built my PKG using Composer and looking for file system changes. I'll post the list of files you need to make a custom package tomorrow when I get into the office.
|
| |
|
|
| dead2sin |
 |
Monday, June 14 2010 @ 07:33 am MDT |
|
|

Server Wrangler
Status: offline
Registered: 02/09/09
Posts: 148
|
I know which files it changes, but I'm not quite sure what the postflight script does besides change the extension that I mentioned above. For now, I'm just having munki update flash upon first boot and when Adobe decides to stop being difficult with their installers, I'll look at baking it in to InstaDMG again.
Nate
|
| |
|
|