Fix for bug 101449: Output for CCK Linux build generates other

unnessary files. Removing file n6setup.exe (r=tao)
This commit is contained in:
shrutiv%netscape.com 2001-10-13 00:37:42 +00:00
Родитель 8213f2a5ec
Коммит 3e823c8969
1 изменённых файлов: 12 добавлений и 13 удалений

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

@ -1141,7 +1141,6 @@ void CreateLinuxInstaller()
char currentdir[_MAX_PATH];
_getcwd(currentdir,_MAX_PATH);
CopyDirectory(xpiDstPath, templinuxPath + xpiDir);
DeleteFile(templinuxPath + xpiDir + "\\N6Setup.exe");
CopyFile(xpiDstPath+"\\Config.ini", templinuxPath+"\\Config.ini",FALSE);
DeleteFile(templinuxPath + xpiDir + "\\Config.ini");
@ -1517,26 +1516,26 @@ int StartIB(CString parms, WIDGET *curWidget)
if (linuxOption == "Linux")
{
LinuxInvisible();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||");
AddThirdParty();
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||");
CreateLinuxInstaller();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||");
}
else
{
invisible();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||");
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||");
AddThirdParty();
AddThirdParty();
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||");
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||");
ReplaceINIFile();
if (linuxOption == "Linux")
{
dlg->SetWindowText(" Customization is in Progress \n |||||||||||||||||||||||||||||||||||||||||||||||");
CreateLinuxInstaller();
}
ReplaceINIFile();
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||");
dlg->SetWindowText(" Customization is in Progress \n ||||||||||||||||||||||||||||||||||||||||||||||||||||||");
}
SetCurrentDirectory(olddir);
CString TargetDir = GetGlobal("Root");
CString TargetFile = TargetDir + "wizardmachine.ini";