[togo] add a notice about WppRecorder.sys BSOD with 1809 ISOs

* Also improve detection of build number
This commit is contained in:
Pete Batard 2019-01-30 17:15:25 +00:00
parent 081d7b3a0b
commit 326ae54f45
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
7 changed files with 47 additions and 27 deletions

View file

@ -1398,6 +1398,13 @@ int SetWinToGoIndex(void)
MB_YESNO | MB_ICONWARNING | MB_IS_RTL, selected_langid) != IDYES)
wintogo_index = -2;
}
// Display a notice about WppRecorder.sys for 1809 ISOs
if (build_nr == 17763) {
notification_info more_info;
more_info.id = MORE_INFO_URL;
more_info.url = WPPRECORDER_MORE_INFO_URL;
Notification(MSG_INFO, NULL, &more_info, lmprintf(MSG_128, "Windows To Go"), lmprintf(MSG_133));
}
}
StrArrayDestroy(&version_name);
StrArrayDestroy(&version_index);