Overloading Errorhandler to handle E_INSTALL separately. bug 66688, r=sgehani, sr=alecf, a=asa

This commit is contained in:
girish.manwani%eng.sun.com 2001-06-15 23:18:10 +00:00
parent fec754b7c4
commit 3c4fc745f0

View File

@ -385,7 +385,10 @@ nsXIEngine::Install(int aCustom, nsComponentList *aComps, char *aDestination)
compNum, mTotalComps, nsInstallDlg::ACT_INSTALL);
err = InstallXPI(currComp, &stub);
if (err != OK)
ErrorHandler(err); // handle and continue
if (err == E_INSTALL)
ErrorHandler(err, currComp->GetArchive()); //handle E_INSTALL separately
else
ErrorHandler(err); //handle and continue
compNum++;
}
}