This commit is contained in:
varada%netscape.com 1999-10-25 05:14:12 +00:00
Родитель b426c05a5c
Коммит 900a1862b0
2 изменённых файлов: 25 добавлений и 13 удалений

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

@ -141,15 +141,21 @@ BOOL CWizardUI::OnSetActive()
pSheet->GetDlgItem(ID_WIZNEXT)->SetWindowText("&Next >");
}
*/
// if (theApp.IsLastNode(CurrentNode)) {
// pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
// }
// if (theApp.IsFirstNode(CurrentNode)) {
// pSheet->SetWizardButtons(PSWIZB_NEXT);
// }
// else {
// pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_NEXT);
// }
if (theApp.IsLastNode(CurrentNode))
{
pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
pSheet->GetDlgItem(ID_WIZFINISH)->SetWindowText(CurrentNode->localVars->wizbut->next);
}
else if (theApp.IsFirstNode(CurrentNode))
{
pSheet->SetWizardButtons(PSWIZB_NEXT);
}
else
{
pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_NEXT);
}
// TODO: Add your specialized code here and/or call the base class
// SetModified(1);

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

@ -7,12 +7,18 @@ extern char iniFilePath[MAX_SIZE];
extern char customizationPath[MAX_SIZE];
extern CWizardMachineApp theApp;
extern char currDirPath[MAX_SIZE];
//CString CDout="CD_output";
CString CDdir = CString(customizationPath) + "\\" + "CD_output";
void CreateRshell (void)
{
CWnd Mywnd;
CString root = GetGlobal("Root");
CString config = GetGlobal("CustomizationList");
CString destPath = root + "\\Configs\\" + config + "\\Rshell";
CWnd Mywnd;
// Mywnd.MessageBox(CString(iniFilePath),iniFilePath,MB_OK);
@ -20,8 +26,8 @@ void CreateRshell (void)
ifstream part1("part1.ini");
ifstream part2("part2.ini");
_mkdir (CDdir);
CString Rsh = CDdir + "\\" +"rshell.ini";
_mkdir (destPath);
CString Rsh = destPath + "\\" +"rshell.ini";
// FILE* rshell = theApp.OpenAFile(CDdir +"rshell.ini", "w");
ofstream rshell(Rsh);