Changeset 53082 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/win/tools
- Timestamp:
- Oct 17, 2014 6:49:23 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96599
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/tools/VBoxNetAdpInstall.cpp
r52592 r53082 22 22 #include <devguid.h> 23 23 24 #define VBOX_NETADP_HWID L"sun_VBoxNetAdp" 24 25 #ifdef NDIS60 25 26 #define VBOX_NETADP_INF L"VBoxNetAdp6.inf" 26 #define VBOX_NETADP_HWID L"sun_VBoxNetAdp6"27 27 #else /* !NDIS60 */ 28 28 #define VBOX_NETADP_INF L"VBoxNetAdp.inf" 29 #define VBOX_NETADP_HWID L"sun_VBoxNetAdp"30 29 #endif /* !NDIS60 */ 31 30 … … 141 140 { 142 141 BOOL fRebootRequired = FALSE; 142 /* 143 * Before we can update the driver for existing adapters we need to remove 144 * all old driver packages from the driver cache. Otherwise we may end up 145 * with both NDIS5 and NDIS6 versions of VBoxNetAdp in the cache which 146 * will cause all sorts of trouble. 147 */ 148 VBoxDrvCfgInfUninstallAllF(L"Net", VBOX_NETADP_HWID, SUOI_FORCEDELETE); 143 149 hr = VBoxNetCfgWinUpdateHostOnlyNetworkInterface(VBOX_NETADP_INF, &fRebootRequired, VBOX_NETADP_HWID); 144 150 if (SUCCEEDED(hr))
Note:
See TracChangeset
for help on using the changeset viewer.