Error when installing Winclone package

Issue #540 closed
Dave Lebbing created an issue

build 30108

When running a workflow that included a Winclone package set to run when running workflow, an error occurred that stopped the workflow. The log states that a windows partition already exists, but this was not so. Relevant log content:

2020-05-11 15:01:40+00 MacBook-Air installer[1076]: ./postflight: A windows partition already exists so a new one does not have be created. Remove any existing FAT or NTFS partitions or unplug external drives that have a FAT / NTFS partition. Here is the partition found:
2020-05-11 15:01:42+00 MacBook-Air installer[1076]: ./postflight: 6: Microsoft Basic Data resources 199.9 GB disk4s6
2020-05-11 15:01:42+00 MacBook-Air installer[1076]: ./postflight: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2020-05-11 15:01:42+00 MacBook-Air installer[1076]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/red/Deploy/SharedPackages/Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1556642002, NSLocalizedDescription=An error occurred while running scripts from the package “Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg”.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cWindows-Winclone7.3.4-percent-of-disk-6227773157.pkg\U201d.";
NSURL = "file://localhost/Volumes/red/Deploy/SharedPackages/Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg";
PKInstallPackageIdentifier = "com.twocanoes.winclone_1556642002";
}
2020-05-11 15:01:42+00 MacBook-Air installer[1076]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/red/Deploy/SharedPackages/Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg, PKInstallPackageIdentifier=com.twocanoes.winclone_1556642002, NSLocalizedDescription=An error occurred while running scripts from the package “Windows-Winclone7.3.4-percent-of-disk-6227773157.pkg”.}

Comments (3)

  1. timothy perfitt

    If you do a diskutil list, do you see a disk4s6? The script is saying that is the existing one.

  2. Dave Lebbing reporter

    Confirmed this no longer occurs when eliminating the ExFAT SSD partition called "resources".

  3. Log in to comment