Fix for bug 11279: Change CCK directory structure to support different

plaltforms and languages (r=smeredith)
This commit is contained in:
shrutiv%netscape.com 2002-01-18 19:44:05 +00:00
parent 642cb13729
commit 270e4d088b
2 changed files with 16 additions and 6 deletions

View File

@ -33,8 +33,12 @@ TechSupportNumber=
CustomComponentPath1=Please select an executable to install.
CustomComponentPath2=Please select an executable to install.
NCIFileEditor=notepad
FTPportno=0
Gopherportno=0
HTTPportno=0
SSLportno=0
SOCKSportno=0
FTPportno=0
Gopherportno=0
HTTPportno=0
SSLportno=0
SOCKSportno=0
Version=6.5
lPlatform=Windows
Language=enus

View File

@ -145,7 +145,7 @@ BOOL CInterpret::BrowseFile(WIDGET *curWidget)
if (tmpWidget && (CEdit*)tmpWidget->control)
{
tmpWidget->value = fullFileName;
if (tmpWidget->name == "LinuxPath")
if (tmpWidget->name == "BlobinstallerPath")
tmpWidget->display = fullFileName;
else
tmpWidget->display = GetTrimFile(fullFileName);
@ -1106,6 +1106,12 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
GenerateList(pcmd, w, p2path);
}
}
else if (strcmp(pcmd, "CreateDirs") == 0)
{
WIDGET *wid = findWidget("BlobinstallerPath");
CString instblobPath = CWizardUI::GetScreenValue(wid);
CreateDirectories(instblobPath);
}
else if (strcmp(pcmd, "SelectItem") ==0)
{
WIDGET* tmpWidget = findWidget((char*) (LPCTSTR)curWidget->target);