VirtualBox

Changeset 67958 in vbox


Ignore:
Timestamp:
Jul 14, 2017 7:20:06 AM (8 years ago)
Author:
vboxsync
Message:

Installer/win: fix logging inconsistencies and some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp

    r66312 r67958  
    10521052    if (SUCCEEDED(hr))
    10531053    {
    1054     //first, try to update Host Only Network Interface
     1054        //first, try to update Host Only Network Interface
    10551055        BOOL fRebootRequired = FALSE;
    10561056        hr = VBoxNetCfgWinUpdateHostOnlyNetworkInterface(pwszInfPath, &fRebootRequired, pwszId);
     
    10591059            if (fRebootRequired)
    10601060            {
    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");
    10621062                HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force");
    10631063                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);
    10651065            }
    10661066        }
    10671067        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);
    10721071            logStringW(hModule, L"CreateHostOnlyInterface: calling VBoxNetCfgWinCreateHostOnlyNetworkInterface");
    10731072#ifdef VBOXNETCFG_DELAYEDRENAME
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette