diff --git a/packetWin7/NPFInstall/NPFInstall/NPFInstall.cpp b/packetWin7/NPFInstall/NPFInstall/NPFInstall.cpp index 6684f95c..9e827251 100644 --- a/packetWin7/NPFInstall/NPFInstall/NPFInstall.cpp +++ b/packetWin7/NPFInstall/NPFInstall/NPFInstall.cpp @@ -185,6 +185,8 @@ int _tmain(int argc, _TCHAR* argv[]) // -i or -i2 BOOL first_time = TRUE; BOOL try_again = FALSE; + // Make sure NetCfg doesn't keep an old driver around + UninstallDriver(); // Don't care about return value do { try_again = FALSE; if (InstallDriver())