Fix for bug 92197: Selected components not visible during browser

installation (r=tao)
This commit is contained in:
shrutiv%netscape.com 2001-07-25 03:36:38 +00:00
Родитель 5dee02ab1f
Коммит 2d990db462
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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