Packages are failing
I have been trying to create a package installer, LanRevInstallease->Apple Package, that just places a program in our admin users Applications folder. No matter what I try I can not get it to work. I've been using InstaDMG for 2 1/2 years but can't figure out what has changed recently for my packages to stop working.
When I run the package an a machine it works perfectly, just not during the image creation.
Here is the log excerpt from InstaDMG for that package:
Package log
==========
Working on folder 21_InstallEase (11:08:20)
Installing InstallEase.pkg from ./InstallerFiles/CustomPKG/21_InstallEase (21_InstallEase)
Folder 21_InstallEase done (11:08:31)
Debug log
==========
Working on folder 21_InstallEase (11:08:20)
Installing InstallEase.pkg from ./InstallerFiles/CustomPKG/21_InstallEase (21_InstallEase)
-[IFPKGDerivedDocument sortedPackageLocations]: result = (
"file://localhost"
)
Package name is InstallEase
Installing at base path /private/tmp/InstaDMG_temp_folder.cpwwwl/mount_point.0BOtOr
PHASE:Preparing for installation…
-[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
-[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/admin/Desktop/iDMG%201.6b2/./InstallerFiles/CustomPKG/21_InstallEase/InstallEase.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": 84.59 GB (84589658112 bytes).
Create temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.34504BIBoCu"
IFPKInstallElement (1 packages)
PHASE:Preparing InstallEase…
PHASE:Waiting for other installations to complete…
PackageKit: ----- Begin install -----
PackageKit: request=PKInstallRequest
PackageKit: packages=(
"PKJaguarPackage "
)
PHASE:Configuring the installation…
STATUS:
PackageKit: Extracting /Users/admin/Desktop/iDMG 1.6b2/InstallerFiles/CustomPKG/21_InstallEase/InstallEase.pkg/Contents/Archive.pax.gz (destination=/private/tmp/InstaDMG_temp_folder.cpwwwl/mount_point.0BOtOr/.PKInstallSandbox-tmp/Root, uid=0)
PHASE:Writing files…
%8.527897
PHASE:Writing files…
%8.527897
PHASE:Writing files…
%21.249378
PHASE:Writing files…
%26.342858
PHASE:Writing files…
%27.445523
PackageKit: Shoving /private/tmp/InstaDMG_temp_folder.cpwwwl/mount_point.0BOtOr/.PKInstallSandbox-tmp/Root (1 items) to /tmp/InstaDMG_temp_folder.cpwwwl/mount_point.0BOtOr
PackageKit: Executing script "./postflight" in /Users/admin/Desktop/iDMG 1.6b2/InstallerFiles/CustomPKG/21_InstallEase/InstallEase.pkg/Contents/Resources
./postflight: Couldn't delete directory '/Users/Shared/LANrevInstallEase_FilesForHomeDirectory'
PHASE:Registering updated applications…
%97.750000
PackageKit: Registered bundle file://localhost/tmp/InstaDMG_temp_folder.cpwwwl/mount_point.0BOtOr/Users/Shared/LANrevInstallEase_FilesForHomeDirectory/Applications/LANrev%20InstallEase.app/
Installed "InstallEase" ()
PackageKit: ----- End install -----
Removing temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.34504BIBoCu"
%97.750000
STATUS:
PHASE:Finishing the Installation…
Finalize disk "Macintosh HD"
Notifying system of updated components
**** Summary Information ****
Operation Elapsed time
-----------------------------
zero 0.10 seconds
install 4.01 seconds
disk 0.01 seconds
-total- 4.11 seconds
STATUS:
%100.000000
PHASE:The software was successfully installed.
The install was successful.
Folder 21_InstallEase done (11:08:31)
Mark