Fix problem where the AppxBlockMap.xml and AppxManifest.xml didn't get extracted correctly using MSXML6
@@ -416,6 +416,9 @@ public:
}
}
}
+ // It is important to reset the stream back to the beginning!
+ LARGE_INTEGER li = {0};
+ ThrowHrIfFailed(stream->Seek(li, StreamBase::Reference::START, nullptr));
ComPtr<IXMLDOMParseError> error;
if (VARIANT_FALSE == success) { ThrowHrIfFailed(m_xmlDocument->get_parseError(&error)); }
