diff --git a/dll/win32/newdev/wizard.c b/dll/win32/newdev/wizard.c index 28e3053356b..7cdd4df3960 100644 --- a/dll/win32/newdev/wizard.c +++ b/dll/win32/newdev/wizard.c @@ -255,11 +255,13 @@ FindDriverProc( } else { - /* Update device configuration */ - SetFailedInstall(DevInstData->hDevInfo, - &DevInstData->devInfoData, - TRUE); - + if (!DevInstData->bUpdate) + { + /* Update device configuration */ + SetFailedInstall(DevInstData->hDevInfo, + &DevInstData->devInfoData, + TRUE); + } PostMessage(DevInstData->hDialog, WM_SEARCH_FINISHED, 0, 0); } return 0; @@ -518,9 +520,12 @@ WelcomeDlgProc( (WPARAM)TRUE, (LPARAM)0); - SetFailedInstall(DevInstData->hDevInfo, - &DevInstData->devInfoData, - TRUE); + if (!DevInstData->bUpdate) + { + SetFailedInstall(DevInstData->hDevInfo, + &DevInstData->devInfoData, + TRUE); + } break; }