Changeset 67958 in vbox
- Timestamp:
- Jul 14, 2017 7:20:06 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r66312 r67958 1052 1052 if (SUCCEEDED(hr)) 1053 1053 { 1054 //first, try to update Host Only Network Interface1054 //first, try to update Host Only Network Interface 1055 1055 BOOL fRebootRequired = FALSE; 1056 1056 hr = VBoxNetCfgWinUpdateHostOnlyNetworkInterface(pwszInfPath, &fRebootRequired, pwszId); … … 1059 1059 if (fRebootRequired) 1060 1060 { 1061 logStringW(hModule, L" UpdateHostOnlyInterfaces: Reboot required, setting REBOOT property to force");1061 logStringW(hModule, L"CreateHostOnlyInterface: Reboot required for update, setting REBOOT property to force"); 1062 1062 HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force"); 1063 1063 if (hr2 != ERROR_SUCCESS) 1064 logStringW(hModule, L" UpdateHostOnlyInterfaces: Failed to set REBOOT property, error = 0x%x", hr2);1064 logStringW(hModule, L"CreateHostOnlyInterface: Failed to set REBOOT property for update, error = 0x%x", hr2); 1065 1065 } 1066 1066 } 1067 1067 else 1068 logStringW(hModule, L"UpdateHostOnlyInterfaces: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = 0x%x", hr); 1069 //in fail case call CreateHostOnlyInterface 1070 if (FAILED(hr)) 1071 { 1068 { 1069 //in fail case call CreateHostOnlyInterface 1070 logStringW(hModule, L"CreateHostOnlyInterface: VBoxNetCfgWinUpdateHostOnlyNetworkInterface failed, hr = 0x%x", hr); 1072 1071 logStringW(hModule, L"CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface"); 1073 1072 #ifdef VBOXNETCFG_DELAYEDRENAME
Note:
See TracChangeset
for help on using the changeset viewer.