- Timestamp:
- Feb 5, 2025 2:52:01 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167366
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r108072 r108073 1133 1133 { 1134 1134 VBoxMsiSetProp(hModule, L"VBOX_IS_WINDOWS_10", dwMaj >= 10 ? L"1" : L""); 1135 1135 VBoxMsiSetPropDWORD(hModule, L"VBOX_WIN_VER_MAJOR", dwMaj); 1136 1137 DWORD dwMin; 1138 rc = VBoxMsiRegQueryDWORD(hModule, hKey, "CurrentMinorVersionNumber", &dwMin); 1139 if (RT_SUCCESS(rc)) 1140 { 1141 VBoxMsiSetPropDWORD(hModule, L"VBOX_WIN_VER_MINOR", dwMin); 1142 1143 logStringF(hModule, "IsWindows10: Detected Windows %u.%u", dwMaj, dwMin); 1144 } 1145 else 1146 logStringF(hModule, "IsWindows10: Error reading CurrentMinorVersionNumber (%Rrc)", rc); 1136 1147 } 1137 1148 else
Note:
See TracChangeset
for help on using the changeset viewer.