Package Installation Failed

Hi,

I am trying to install a Windows 10 package I created using Winclone 6 on MacOS High Sierra. I have tried the different disk partition options as well as disabling SIP to no avail. The below error occurs on MacOS 10.12 and 10.13. However, the package was able to successfully install on OS X Yosemite 10.10. Please let me know if you need more information. Thank you in advance.

Regards,
Adrian

Dec 4 19:00:50 admins-mbp installd[259]: PackageKit: ----- Begin install -----
Dec 4 19:00:50 admins-mbp installd[259]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/FBE2AE95-EABB-441E-A351-12F100A047EB.activeSandbox
Dec 4 19:00:59 admins-mbp installd[259]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “Untitled.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Users/admin/Desktop/Untitled.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1512428796, NSLocalizedDescription=An error occurred while running scripts from the package “Untitled.pkg”.} {
NSFilePath = “./postflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cUntitled.pkg\U201d.”;
NSURL = “file://localhost/Users/admin/Desktop/Untitled.pkg”;
PKInstallPackageIdentifier = “com.twocanoes.winclone_1512428796”;
}
Dec 4 19:01:00 admins-mbp Installer[664]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Dec 4 19:01:00 admins-mbp Installer[664]: Displaying ‘Install Failed’ UI.
Dec 4 19:01:00 admins-mbp Installer[664]: ‘Install Failed’ UI displayed message:‘The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.

can you post the entire install.log? It seems to be missing the error from the script.

tim

Hi Tim,

Sorry about that! I had ‘Show Errors Only’ selected. Here’s ‘All Logs’:

Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: @(#)PROGRAM:Install PROJECT:Install-1000
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: @(#)PROGRAM:Installer PROJECT:Installer-909
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Hardware: MacBookPro12,1 @ 3.10 GHz (x 4), 8192 MB RAM
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Running OS Build: Mac OS X 10.12.6 (16G29)
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: TMPDIR=/var/folders/wl/99hf7py55s57c7wmktw71njh0000gn/T/
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: SHELL=/bin/bash
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: HOME=/Users/admin
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.2SealMRTp4/Render
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.pIiwaS9urr/Listeners
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: LOGNAME=admin
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: XPC_SERVICE_NAME=com.apple.installer.452
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: USER=admin
Dec 5 14:30:26 admins-MacBook-Pro Installer[761]: Env: XPC_FLAGS=0x0
Dec 5 14:30:27 admins-MacBook-Pro Installer[761]: Untitled Installation Log
Dec 5 14:30:27 admins-MacBook-Pro Installer[761]: Opened from: /Users/admin/Desktop/Untitled.pkg
Dec 5 14:30:27 admins-MacBook-Pro Installer[761]: Referenced component packages (1) trustLevel=100
Dec 5 14:30:36 admins-MacBook-Pro Installer[761]: InstallerStatusNotifications plugin loaded
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Administrator authorization granted.
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: ================================================================================
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: User picked Standard Install
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Choices selected for installation:
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Install: "Untitled"
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Untitled.pkg : com.twocanoes.winclone_1512428796 : 4.0.0.1.0
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: ================================================================================
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: It took 0.00 seconds to summarize the package selections.
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: -[IFPKGDerivedDocument sortedPackageLocations]: result = (
“file://localhost”
)
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/admin/Desktop/Untitled.pkg
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Set authorization level to root for session
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Will use PK session
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Using authorization level of root for IFPKInstallElement
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Starting installation:
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Configuring volume "Macintosh HD"
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Preparing disk for local booted install.
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Free space on “Macintosh HD”: 178.85 GB (178845188096 bytes).
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: Create temporary directory "/var/folders/wl/99hf7py55s57c7wmktw71njh0000gn/T//Install.7614dyb9T"
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: IFPKInstallElement (1 packages)
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Adding client PKInstallDaemonClient pid=761, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Dec 5 14:30:40 admins-MacBook-Pro Installer[761]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: ----- Begin install -----
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: packages=(
“PKJaguarPackage <file://localhost/Users/admin/Desktop/Untitled.pkg>”
)
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/95D3004D-C5C0-454F-8255-849BC24DEDAD.activeSandbox
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Extracting file://localhost/Users/admin/Desktop/Untitled.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/95D3004D-C5C0-454F-8255-849BC24DEDAD.activeSandbox/Root, uid=0)
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: prevent user idle system sleep
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: suspending backupd
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/95D3004D-C5C0-454F-8255-849BC24DEDAD.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/95D3004D-C5C0-454F-8255-849BC24DEDAD.activeSandbox
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/95D3004D-C5C0-454F-8255-849BC24DEDAD.activeSandbox/Root (0 items) to /
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: PackageKit: Executing script “./postflight” in /Users/admin/Desktop/Untitled.pkg/Contents/Resources
Dec 5 14:30:40 admins-MacBook-Pro install_monitor[769]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Creating bootcamp partition section
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Checking out the partition table on device /
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Mode: Create Partition
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: checking for existing bootcamp partitions…
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: checking for core storage…
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Selected volume is core storage
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: checking for apfs…
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: checking size…
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Making sure that the partition to split is JHFS+ or APFS
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Filesystem is Journaled HFS+, core storage or apfs so we are good to try and split it…
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: Creating by size
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: hfs_size is 249769230336
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: new_hfs_size is 56495702016b
Dec 5 14:30:40 admins-MacBook-Pro installd[259]: ./postflight: creating from core storage
Dec 5 14:30:49 admins-MacBook-Pro installd[259]: ./postflight: Error: -69787: The partition cannot be resized; try reducing the amount of change in the size of the partition
Dec 5 14:30:49 admins-MacBook-Pro installd[259]: ./postflight: Could not find . Quitting
Dec 5 14:30:49 admins-MacBook-Pro install_monitor[769]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: releasing backupd
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: allow user idle system sleep
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “Untitled.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Users/admin/Desktop/Untitled.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1512428796, NSLocalizedDescription=An error occurred while running scripts from the package “Untitled.pkg”.} {
NSFilePath = “./postflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cUntitled.pkg\U201d.”;
NSURL = “file://localhost/Users/admin/Desktop/Untitled.pkg”;
PKInstallPackageIdentifier = “com.twocanoes.winclone_1512428796”;
}
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: Running idle tasks
Dec 5 14:30:50 admins-MacBook-Pro Installer[761]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “Untitled.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Users/admin/Desktop/Untitled.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1512428796, NSLocalizedDescription=An error occurred while running scripts from the package “Untitled.pkg”.}
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: Removing client PKInstallDaemonClient pid=761, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Dec 5 14:30:50 admins-MacBook-Pro installd[259]: PackageKit: Done with sandbox removals
Dec 5 14:30:50 admins-MacBook-Pro Installer[761]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Dec 5 14:30:50 admins-MacBook-Pro Installer[761]: IFDInstallController 3800 state = 8
Dec 5 14:30:50 admins-MacBook-Pro Installer[761]: Displaying ‘Install Failed’ UI.
Dec 5 14:30:50 admins-MacBook-Pro Installer[761]: ‘Install Failed’ UI displayed message:‘The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.

I appreciate your help!

Thanks,
Adrian

You can see the error here:

Dec 5 14:30:49 admins-MacBook-Pro installd[259]: ./postflight: Error: -69787: The partition cannot be resized; try reducing the amount of change in the size of the partition
Dec 5 14:30:49 admins-MacBook-Pro installd[259]: ./postflight: Could not find . Quitting

Try making the size of the partition larger and it should work.

tim

Thanks, Tim. Should I increase or decrease the size of the Bootcamp partition? The reason I ask is because the error says reduce the amount, and you’re saying make it larger.

Also, the weird thing is that the same package works on Yosemite. No errors - it just installs successfully.

-Adrian