From 2d990db4628585d92a01c561990ffc7898eee962 Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Wed, 25 Jul 2001 03:36:38 +0000 Subject: [PATCH] Fix for bug 92197: Selected components not visible during browser installation (r=tao) --- cck/ib/ib.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index 1e4449f9b9a..a5c229f6485 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -659,7 +659,11 @@ void invisible() WritePrivateProfileString("Setup Type0",(LPCTSTR)Cee,(LPCTSTR)component, iniDstPath); WritePrivateProfileString("Setup Type1",(LPCTSTR)Cee,(LPCTSTR)component, iniDstPath); if (Components[i].additional && !(Components[i].launchapp) && !(Components[i].invisible)) - WritePrivateProfileString(Components[i].compname, "Attributes", "SELECTED|ADDITIONAL", iniDstPath); + WritePrivateProfileString(Components[i].compname, "Attributes", "SELECTED|ADDITIONAL", iniDstPath); + else if (!(Components[i].disabled) && !(Components[i].additional) && !(Components[i].invisible)) + WritePrivateProfileString(Components[i].compname, "Attributes", "SELECTED|FORCE_UPGRADE", iniDstPath); + else if (Components[i].additional && Components[i].launchapp && !(Components[i].invisible)) + WritePrivateProfileString(Components[i].compname, "Attributes", "SELECTED|LAUNCHAPP|ADDITIONAL", iniDstPath); componentOrder++; } else