VirtualBox

Changeset 106509 in vbox for trunk/src


Ignore:
Timestamp:
Oct 19, 2024 7:41:58 AM (6 weeks ago)
Author:
vboxsync
Message:

Windows driver installation: Fixed handling default sections in vboxWinDrvTryInfSection(). bugref:10762

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/installation/VBoxWinDrvInst.cpp

    r106503 r106509  
    770770        /* The more specific (using decorations), the better. Try these first. Might be NULL. */
    771771        pwszSection,
    772         /* Applies to primitive (and legacy) drivers. */
    773         L"DefaultUninstall"
     772        /* The Default[Un]Install sections apply to primitive (and legacy) drivers. */
     773           pCtx->Parms.enmMode == VBOXWINDRVINSTMODE_INSTALL
     774        ?  L"DefaultInstall" : L"DefaultUninstall"
    774775    };
    775776
     
    809810
    810811            if (rc != VERR_NOT_FOUND)
    811                 vboxWinDrvInstLogError(pCtx, "Uninstalling INF section failed with %Rrc", rc);
     812                vboxWinDrvInstLogError(pCtx, "Trying INF section failed with %Rrc", rc);
    812813        }
    813814    }
     
    815816    if (rc == VERR_NOT_FOUND)
    816817    {
    817         vboxWinDrvInstLogWarn(pCtx, "No matching uninstallation section found -- buggy driver?");
     818        vboxWinDrvInstLogWarn(pCtx, "No matching section to try found -- buggy driver?");
    818819        rc = VINF_SUCCESS;
    819820    }
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