When I commit install.wim, it cannot unmount normally
DismApi.UnmountImage(mountedImageInfo.MountPath, commitChanges: true, progressCallback: ImageProgressCallback);
the error is as follows:
System. Argumentoutofrangeexception: the value of '102' is not valid for 'value'. 'value' should be between'minimum'and'maximum'. (Parameter 'value')
When I discard install.wim, it can unmount normally
DismApi.UnmountImage(mountedImageInfo.MountPath, commitChanges: false, progressCallback: ImageProgressCallback);