VirtualBox

Changeset 106822 in vbox


Ignore:
Timestamp:
Nov 4, 2024 6:41:18 PM (3 months ago)
Author:
vboxsync
Message:

Windows host installer/InstallHelper: Don't ignore (at least for now) the overall outcome of an (un)installation and report an error back to the installer if failed. bugref:10762

File:
1 edited

Legend:

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

    r106321 r106822  
    15141514    }
    15151515
    1516     logStringF(hModule, "DriverInstall: Handling done. rc=%Rrc (ignored)", rc);
    1517     return ERROR_SUCCESS; /* Do not fail here. */
     1516    logStringF(hModule, "DriverInstall: Handling done (rc=%Rrc)", rc);
     1517    return RT_SUCCESS(rc) ? ERROR_SUCCESS : ERROR_DRIVER_INSTALL_BLOCKED /* Close enough */;
    15181518}
    15191519
     
    15671567    }
    15681568
    1569     logStringF(hModule, "DriverUninstall: Handling done. rc=%Rrc (ignored)", rc);
    1570     return ERROR_SUCCESS; /* Do not fail here. */
     1569    logStringF(hModule, "DriverUninstall: Handling done (rc=%Rrc)", rc);
     1570    return RT_SUCCESS(rc) ? ERROR_SUCCESS : ERROR_DRIVER_STORE_DELETE_FAILED /* Close enough */;
    15711571}
    15721572
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