diff options
Diffstat (limited to 'src/engine/registration.cpp')
-rw-r--r-- | src/engine/registration.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/registration.cpp b/src/engine/registration.cpp index 3c3dc95d..4e8c810d 100644 --- a/src/engine/registration.cpp +++ b/src/engine/registration.cpp | |||
@@ -136,6 +136,11 @@ extern "C" HRESULT RegistrationParseFromXml( | |||
136 | hr = VerParseVersion(scz, 0, FALSE, &pRegistration->pVersion); | 136 | hr = VerParseVersion(scz, 0, FALSE, &pRegistration->pVersion); |
137 | ExitOnFailure(hr, "Failed to parse @Version: %ls", scz); | 137 | ExitOnFailure(hr, "Failed to parse @Version: %ls", scz); |
138 | 138 | ||
139 | if (pRegistration->pVersion->fInvalid) | ||
140 | { | ||
141 | LogId(REPORT_WARNING, MSG_MANIFEST_INVALID_VERSION, scz); | ||
142 | } | ||
143 | |||
139 | // @ProviderKey | 144 | // @ProviderKey |
140 | hr = XmlGetAttributeEx(pixnRegistrationNode, L"ProviderKey", &pRegistration->sczProviderKey); | 145 | hr = XmlGetAttributeEx(pixnRegistrationNode, L"ProviderKey", &pRegistration->sczProviderKey); |
141 | ExitOnFailure(hr, "Failed to get @ProviderKey."); | 146 | ExitOnFailure(hr, "Failed to get @ProviderKey."); |