public WimMountedImage(DismMountedImageInfo info) { SYSTEM = new SYSTEM(_mountPath); SOFTWARE = new SOFTWARE(_mountPath); USER = new USER(_mountPath); ADMIN = new ADMIN(_mountPath); _type = Type.Mounted; _index = info.ImageIndex; _wimPath = info.ImageFilePath; _mountPath = _description = info.MountPath; _stat = info.MountStatus; GetState(); if (info.MountStatus == DismMountStatus.NeedsRemount) { DismApi.RemountImage(_mountPath); } }