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