Windows 10 Package install keeps failing

I have created a package from windows 10 image and have tried installing it but each time it says the installation failed the installer encountered an error that caused the installation to fail. I made the package twice and dont know how to trouble shoot I looked at the logs but dont really see any information there. The winclone package install log says 100% succesfull.

Can you post the install.log and the winclone_package.log?

Here is the support doc that covers how to get to those logs:

tim

The forum booted me for some reason so I made anew account I really need some help with this. I am in a time crunch. Anyway log files are coming. It seems to get 100 percent complete in the installer log fails at writing bios. I have tried everything.

Volume DOS on disk2s4 unmounted
Ntfsclone image version: 10.0
Cluster size : 4096 bytes
Image volume size : 91155492864 bytes (91156 MB)
Image device size : 187656306688 bytes
Space in use : 86812 MB (95.2%)
Offset to image data : 56 (0x38) bytes
Restoring NTFS from image …
0.00 percent completed
0.00 percent completed
100.00 percent completed
100.00 percent completed
100.00 percent completed

----------------------------- BIOS Partition Table--------------------------
#: id cyl hd sec - cyl hd sec [ start - size]

1: EE 0 0 2 - 25 127 14 [ 1 - 409639]
2: AF 25 127 15 - 1023 248 40 [ 409640 - 114502904]
3: 05 1023 74 42 - 1023 97 22 [ 115174688 - 374797880]
4: 00 0 0 0 - 0 0 0 [ 0 - 0]

Jul 12 11:59:52 hstest Installer[3673]: It took 0.00 seconds to summarize the package selections.
Jul 12 11:59:52 hstest Installer[3673]: -[IFPKGDerivedDocument sortedPackageLocations]: result = (
“file://localhost”
)
Jul 12 11:59:52 hstest Installer[3673]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Jul 12 11:59:52 hstest Installer[3673]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/JSS%20Distro/BCpart.pkg
Jul 12 11:59:52 hstest Installer[3673]: Set authorization level to root for session
Jul 12 11:59:52 hstest Installer[3673]: Will use PK session
Jul 12 11:59:52 hstest Installer[3673]: Using authorization level of root for IFPKInstallElement
Jul 12 11:59:52 hstest Installer[3673]: Starting installation:
Jul 12 11:59:52 hstest Installer[3673]: Configuring volume "BOOTCAMP"
Jul 12 11:59:52 hstest Installer[3673]: Preparing disk for local booted install.
Jul 12 11:59:52 hstest Installer[3673]: Could not enable permissions: Invalid request (-69886)
Jul 12 11:59:52 hstest Installer[3673]: Free space on “BOOTCAMP”: 191.88 GB (191879970816 bytes).
Jul 12 11:59:52 hstest Installer[3673]: Create temporary directory "/var/folders/xz/fb5s1n753fnb7mzh68xgxsf80000gn/T//Install.367371mhdf"
Jul 12 11:59:52 hstest Installer[3673]: IFPKInstallElement (1 packages)
Jul 12 11:59:52 hstest installd[611]: PackageKit: Adding client PKInstallDaemonClient pid=3673, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 12 11:59:52 hstest Installer[3673]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Jul 12 11:59:52 hstest installd[611]: PackageKit: ----- Begin install -----
Jul 12 11:59:52 hstest installd[611]: PackageKit: request=PKInstallRequest <1 packages, destination=/Volumes/BOOTCAMP>
Jul 12 11:59:52 hstest installd[611]: PackageKit: packages=(
“PKJaguarPackage <file://localhost/Volumes/JSS%20Distro/BCpart.pkg>”
)
Jul 12 11:59:52 hstest installd[611]: PackageKit: Session UUID file exists - will not overwrite /Volumes/BOOTCAMP/.PKInstallSandboxManager/64168C56-5716-4E8E-BFAA-6F161711C1EF.activeSandbox
Jul 12 11:59:52 hstest installd[611]: PackageKit: Extracting file://localhost/Volumes/JSS%20Distro/BCpart.pkg (destination=/Volumes/BOOTCAMP/.PKInstallSandboxManager/64168C56-5716-4E8E-BFAA-6F161711C1EF.activeSandbox/Root, uid=0)
Jul 12 11:59:52 hstest installd[611]: PackageKit: prevent user idle system sleep
Jul 12 11:59:52 hstest installd[611]: PackageKit: suspending backupd
Jul 12 11:59:52 hstest installd[611]: PackageKit: Using system content trashcan path /Volumes/BOOTCAMP/.PKInstallSandboxManager/64168C56-5716-4E8E-BFAA-6F161711C1EF.activeSandbox/Trashes for sandbox /Volumes/BOOTCAMP/.PKInstallSandboxManager/64168C56-5716-4E8E-BFAA-6F161711C1EF.activeSandbox
Jul 12 11:59:52 hstest installd[611]: PackageKit: Shoving /Volumes/BOOTCAMP/.PKInstallSandboxManager/64168C56-5716-4E8E-BFAA-6F161711C1EF.activeSandbox/Root (0 items) to /Volumes/BOOTCAMP
Jul 12 11:59:52 hstest installd[611]: PackageKit: Executing script “./postflight” in /Volumes/JSS Distro/BCpart.pkg/Contents/Resources
Jul 12 11:59:52 hstest installd[611]: ./postflight: Creating bootcamp partition section
Jul 12 11:59:52 hstest installd[611]: ./postflight: Checking out the partition table on device /Volumes/BOOTCAMP
Jul 12 11:59:52 hstest installd[611]: ./postflight: Using slice 3
Jul 12 11:59:52 hstest installd[611]: ./postflight: checking for core storage…
Jul 12 11:59:52 hstest installd[611]: ./postflight: /Volumes/BOOTCAMP is not a CoreStorage disk
Jul 12 11:59:52 hstest installd[611]: ./postflight: not core storage, so checking for standard
Jul 12 11:59:52 hstest installd[611]: ./postflight: restoring to device /dev/disk2s3
Jul 12 11:59:52 hstest installd[611]: ./postflight: Restore to existing partition mode… Progress log is at /tmp/winclone_package.log
Jul 12 11:59:52 hstest installd[611]: ./postflight: checking to see if partition /dev/disk2s3 exists
Jul 12 11:59:52 hstest installd[611]: ./postflight: Filesystem is exfat so we are good to restore to it…
Jul 12 11:59:52 hstest installd[611]: ./postflight: starting helper…
Jul 12 11:59:52 hstest installd[611]: ./postflight: partition id new is 3
Jul 12 11:59:52 hstest installd[611]: ./postflight: inferred disk device path of /dev/disk2
Jul 12 11:59:52 hstest installd[611]: ./postflight: --------------Starting self extract--------------
Jul 12 11:59:52 hstest installd[611]: ./postflight: unmounting /dev/disk2s3
Jul 12 11:59:52 hstest installd[611]: ./postflight: Waiting for pigz
Jul 12 11:59:52 hstest installd[611]: ./postflight: ntfsclone v2.0.0 (libntfs 10:0:0)
Jul 12 12:01:15 hstest storagekitd[3779]: Starting SKDaemon…
Jul 12 12:01:15 hstest storagekitd[3779]: Client entitled for destructive operations
Jul 12 12:01:15 hstest storagekitd[3779]: Adding client connection <NSXPCConnection: 0x7fff2e703a30> connection from pid 3778
Jul 12 12:01:16 hstest Disk Utility[3778]: Connected to daemon. Language set to: English
Jul 12 12:01:25 — last message repeated 1 time —
Jul 12 12:01:25 hstest storagekitd[3779]: Removing client connection <SKDaemonConnection: 0x7fff2e704f50>
Jul 12 12:01:25 hstest storagekitd[3779]: No more connections, storagekitd will exit…
Jul 12 12:09:25 hstest installd[611]: ./postflight: Waiting for pigz DONE
Jul 12 12:09:25 hstest installd[611]: ./postflight: Waiting for ntfsclone.
Jul 12 12:09:25 hstest installd[611]: ./postflight: pid_state is 0
Jul 12 12:09:26 hstest installd[611]: ./postflight: Waiting for ntfsclone DONE
Jul 12 12:09:26 hstest installd[611]: ./postflight: Waiting Done
Jul 12 12:09:26 hstest installd[611]: ./postflight: Removing hibernation file
Jul 12 12:09:26 hstest installd[611]: ./postflight: /dev/disk2s3 ./hiberfil.sys hiberfil.sysWARNING: Dirty volume mount was forced by the ‘force’ mount option.
Jul 12 12:09:26 hstest installd[611]: ./postflight: --------------Restore Complete--------------
Jul 12 12:09:26 hstest installd[611]: ./postflight: --------------Updating MBR--------------
Jul 12 12:09:26 hstest installd[611]: ./postflight: updating mbr for partition 3
Jul 12 12:09:26 hstest installd[611]: ./postflight: /dev/disk2s3 is the ntfspartition
Jul 12 12:09:26 hstest installd[611]: ./postflight: /dev/disk2s3 is the in_ntfspartition
Jul 12 12:09:26 hstest installd[611]: ./postflight: Reading BIOS partition table
Jul 12 12:09:26 hstest installd[611]: ./postflight: blocksize is 512
Jul 12 12:09:26 hstest installd[611]: ./postflight: Reading GPT Header
Jul 12 12:09:26 hstest installd[611]: ./postflight: Reading GPT
Jul 12 12:09:26 hstest installd[611]: ./postflight: setting signature to aa55
Jul 12 12:09:26 hstest installd[611]: ./postflight: comparing bios partition with what it should be
Jul 12 12:09:26 hstest installd[611]: ./postflight: start_head is different: 0 254
Jul 12 12:09:26 hstest installd[611]: ./postflight: start_sector is different: 2 63
Jul 12 12:09:26 hstest installd[611]: ./postflight: start_track is different: 0 1023
Jul 12 12:09:26 hstest installd[611]: ./postflight: end_head is different: 127 254
Jul 12 12:09:26 hstest installd[611]: ./postflight: end_sector is different: 14 63
Jul 12 12:09:26 hstest installd[611]: ./postflight: end_track is different: 25 1023
Jul 12 12:09:26 hstest installd[611]: ./postflight: writing bios
Jul 12 12:09:26 hstest installd[611]: ./postflight: * error writing /dev/disk2
Jul 12 12:09:26 hstest installd[611]: ./postflight: errno is 1
Jul 12 12:09:26 hstest installd[611]: ./postflight: error while opening to writeFailed restoring to /dev/disk2s3.
Jul 12 12:09:26 hstest installd[611]: PackageKit: releasing backupd
Jul 12 12:09:26 hstest installd[611]: PackageKit: allow user idle system sleep
Jul 12 12:09:26 hstest installd[611]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “BCpart.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/JSS%20Distro/BCpart.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1499802907, NSLocalizedDescription=An error occurred while running scripts from the package “BCpart.pkg”.} {
NSFilePath = “./postflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cBCpart.pkg\U201d.”;
NSURL = “file://localhost/Volumes/JSS%20Distro/BCpart.pkg”;
PKInstallPackageIdentifier = “com.twocanoes.winclone_1499802907”;
}
Jul 12 12:09:26 hstest installd[611]: PackageKit: Running idle tasks
Jul 12 12:09:26 hstest installd[611]: PackageKit: Done with sandbox removals
Jul 12 12:09:26 hstest Installer[3673]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “BCpart.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/JSS%20Distro/BCpart.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1499802907, NSLocalizedDescription=An error occurred while running scripts from the package “BCpart.pkg”.}
Jul 12 12:09:26 hstest installd[611]: PackageKit: Removing client PKInstallDaemonClient pid=3673, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 12 12:09:27 hstest Installer[3673]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jul 12 12:09:27 hstest Installer[3673]: IFDInstallController 1D7B0 state = 8
Jul 12 12:09:27 hstest Installer[3673]: Displaying ‘Install Failed’ UI.
Jul 12 12:09:27 hstest Installer[3673]: ‘Install Failed’ UI displayed message:‘The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.

Jul 12 10:43:57 hstest installd[576]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B4AE83B6-E4A0-4E87-A4E9-E57A3AC81C6F.activeSandbox
Jul 12 10:43:57 hstest installd[576]: PackageKit: Extracting file://localhost/Users/admin/Desktop/BCpart.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B4AE83B6-E4A0-4E87-A4E9-E57A3AC81C6F.activeSandbox/Root, uid=0)
Jul 12 10:43:57 hstest installd[576]: PackageKit: prevent user idle system sleep
Jul 12 10:43:57 hstest installd[576]: PackageKit: suspending backupd
Jul 12 10:43:57 hstest installd[576]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/B4AE83B6-E4A0-4E87-A4E9-E57A3AC81C6F.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B4AE83B6-E4A0-4E87-A4E9-E57A3AC81C6F.activeSandbox
Jul 12 10:43:57 hstest installd[576]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B4AE83B6-E4A0-4E87-A4E9-E57A3AC81C6F.activeSandbox/Root (0 items) to /
Jul 12 10:43:57 hstest installd[576]: PackageKit: Executing script “./postflight” in /Users/admin/Desktop/BCpart.pkg/Contents/Resources
Jul 12 10:43:57 hstest install_monitor[2632]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Jul 12 10:43:57 hstest installd[576]: ./postflight: Creating bootcamp partition section
Jul 12 10:43:57 hstest installd[576]: ./postflight: Checking out the partition table on device /
Jul 12 10:43:57 hstest installd[576]: ./postflight: Using slice 3
Jul 12 10:43:57 hstest installd[576]: ./postflight: checking for core storage…
Jul 12 10:43:57 hstest installd[576]: ./postflight: / is not a CoreStorage disk
Jul 12 10:43:57 hstest installd[576]: ./postflight: not core storage, so checking for standard
Jul 12 10:43:57 hstest installd[576]: ./postflight: restoring to device /dev/disk2s3
Jul 12 10:43:57 hstest installd[576]: ./postflight: Restore to existing partition mode… Progress log is at /tmp/winclone_package.log
Jul 12 10:43:57 hstest installd[576]: ./postflight: checking to see if partition /dev/disk2s3 exists
Jul 12 10:43:57 hstest installd[576]: ./postflight: Filesystem is exfat so we are good to restore to it…
Jul 12 10:43:57 hstest installd[576]: ./postflight: starting helper…
Jul 12 10:43:57 hstest installd[576]: ./postflight: partition id new is 3
Jul 12 10:43:57 hstest installd[576]: ./postflight: inferred disk device path of /dev/disk2
Jul 12 10:43:57 hstest installd[576]: ./postflight: --------------Starting self extract--------------
Jul 12 10:43:57 hstest installd[576]: ./postflight: unmounting /dev/disk2s3
Jul 12 10:43:58 hstest installd[576]: ./postflight: Waiting for pigz
Jul 12 10:43:58 hstest installd[576]: ./postflight: ntfsclone v2.0.0 (libntfs 10:0:0)
Jul 12 10:53:43 hstest installd[576]: ./postflight: Waiting for pigz DONE
Jul 12 10:53:43 hstest installd[576]: ./postflight: Waiting for ntfsclone.
Jul 12 10:53:43 hstest installd[576]: ./postflight: pid_state is 0
Jul 12 10:53:44 hstest installd[576]: ./postflight: Waiting for ntfsclone DONE
Jul 12 10:53:44 hstest installd[576]: ./postflight: Waiting Done
Jul 12 10:53:44 hstest installd[576]: ./postflight: Removing hibernation file
Jul 12 10:53:44 hstest installd[576]: ./postflight: /dev/disk2s3 ./hiberfil.sys hiberfil.sysWARNING: Dirty volume mount was forced by the ‘force’ mount option.
Jul 12 10:53:44 hstest installd[576]: ./postflight: --------------Restore Complete--------------
Jul 12 10:53:44 hstest installd[576]: ./postflight: --------------Updating MBR--------------
Jul 12 10:53:44 hstest installd[576]: ./postflight: updating mbr for partition 3
Jul 12 10:53:44 hstest installd[576]: ./postflight: /dev/disk2s3 is the ntfspartition
Jul 12 10:53:44 hstest installd[576]: ./postflight: /dev/disk2s3 is the in_ntfspartition
Jul 12 10:53:44 hstest installd[576]: ./postflight: Reading BIOS partition table
Jul 12 10:53:44 hstest installd[576]: ./postflight: blocksize is 512
Jul 12 10:53:44 hstest installd[576]: ./postflight: Reading GPT Header
Jul 12 10:53:44 hstest installd[576]: ./postflight: Reading GPT
Jul 12 10:53:44 hstest installd[576]: ./postflight: setting signature to aa55
Jul 12 10:53:44 hstest installd[576]: ./postflight: comparing bios partition with what it should be
Jul 12 10:53:44 hstest installd[576]: ./postflight: start_head is different: 0 254
Jul 12 10:53:44 hstest installd[576]: ./postflight: start_sector is different: 2 63
Jul 12 10:53:44 hstest installd[576]: ./postflight: start_track is different: 0 1023
Jul 12 10:53:44 hstest installd[576]: ./postflight: end_head is different: 127 254
Jul 12 10:53:44 hstest installd[576]: ./postflight: end_sector is different: 14 63
Jul 12 10:53:44 hstest installd[576]: ./postflight: end_track is different: 25 1023
Jul 12 10:53:44 hstest installd[576]: ./postflight: writing bios
Jul 12 10:53:44 hstest installd[576]: ./postflight: * error writing /dev/disk2
Jul 12 10:53:44 hstest installd[576]: ./postflight: errno is 1
Jul 12 10:53:44 hstest installd[576]: ./postflight: error while opening to writeFailed restoring to /dev/disk2s3.
Jul 12 10:53:44 hstest install_monitor[2632]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Jul 12 10:53:45 hstest installd[576]: PackageKit: releasing backupd
Jul 12 10:53:45 hstest installd[576]: PackageKit: allow user idle system sleep
Jul 12 10:53:45 hstest installd[576]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “BCpart.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Users/admin/Desktop/BCpart.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1499802907, NSLocalizedDescription=An error occurred while running scripts from the package “BCpart.pkg”.} {
NSFilePath = “./postflight”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cBCpart.pkg\U201d.”;
NSURL = “file://localhost/Users/admin/Desktop/BCpart.pkg”;
PKInstallPackageIdentifier = “com.twocanoes.winclone_1499802907”;
}
Jul 12 10:53:45 hstest installd[576]: PackageKit: Running idle tasks
Jul 12 10:53:45 hstest Installer[2610]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “BCpart.pkg”.” UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Users/admin/Desktop/BCpart.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1499802907, NSLocalizedDescription=An error occurred while running scripts from the package “BCpart.pkg”.}
Jul 12 10:53:45 hstest installd[576]: PackageKit: Removing client PKInstallDaemonClient pid=2610, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 12 10:53:45 hstest installd[576]: PackageKit: Done with sandbox removals
Jul 12 10:53:45 hstest Installer[2610]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jul 12 10:53:45 hstest Installer[2610]: IFDInstallController A4D0 state = 8
Jul 12 10:53:45 hstest Installer[2610]: Displaying ‘Install Failed’ UI.
Jul 12 10:53:45 hstest Installer[2610]: ‘Install Failed’ UI displayed message:‘The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.
Jul 12 10:53:52 hstest Installer[2610]: Package Removal: Package is not in downloads directory. Not offering removal.
Jul 12 10:53:52 hstest Installer[2610]: Package Removal: Package cannot be removed.

I just sent you an email to set up a call. I’ll post the results back here.

tim

Also, it looks like SIP wasn’t disabled since it can’t update the MBR.

Did you disable SIP? You can also netboot or boot from an external drive and you won’t have to disable SIP.

tim

It looks like SIP needed to be disabled but the machine was imagined without a recovery partition. A couple of ways to accomplish this:

  1. Boot from a external drive and restore the package from the external drive to the local drive. You do not have to disable SIP if you do it this way.

  2. Create a package to restore the recovery partition, then disable SIP.

To restore the recovery partition using a package:

To disable SIP:

One last thing could I install the package from target mode without disabling SIP?

Yes, that would work as well.