VirtualBox

Changeset 88190 in vbox


Ignore:
Timestamp:
Mar 18, 2021 12:02:12 PM (4 years ago)
Author:
vboxsync
Message:

GA/Win/Installer: GA installer should ignore ERROR_NO_SUCH_DEVINST, bugref:9945

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp

    r85121 r88190  
    367367                        break;
    368368
     369                    case ERROR_NO_SUCH_DEVINST:
     370                        _tprintf(_T("INFO: The driver package was installed but no matching devices found in the device tree (ERROR_NO_SUCH_DEVINST).\n"));
     371                    break;
     372
    369373                    default:
    370374                    {
     
    376380                    }
    377381                }
    378                 hr = HRESULT_FROM_WIN32(dwRet);
     382
     383                if (dwRet == ERROR_NO_SUCH_DEVINST)
     384                {
     385                    /* GA installer should ignore this error code and continue */
     386                    hr = S_OK;
     387                }
     388                else
     389                    hr = HRESULT_FROM_WIN32(dwRet);
    379390            }
    380391            g_pfnDIFXAPISetLogCallback(NULL, NULL);
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