Patch level :4.0 setup
Files correlati : Ricompilazione Demo : [ ] Commento :completato aggiornamento campo.stp git-svn-id: svn://10.65.10.50/trunk@15589 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3db99fea49
commit
7a8f4152d9
@ -2499,15 +2499,30 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
|
||||
//---------------------------
|
||||
if (bNewInstallation)
|
||||
{
|
||||
CampoIniFile CampoStp("C:\\campo.stp", "");
|
||||
//deve aggiungere la nuova installazione al campo.stp
|
||||
for (int i = 1;; i++)
|
||||
{
|
||||
wxString strGroup;
|
||||
strGroup << i;
|
||||
CampoIniFile CampoStp("C:\\campo.stp", strGroup);
|
||||
wxString strPath = CampoStp.Get("Program");
|
||||
if (strPath.IsEmpty())
|
||||
{
|
||||
CampoStp.Set("Program", strPrgLocPath);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//lanciare ba1.exe -6 in uscita (non va qui! e' solo per ricordarsi di farlo!)
|
||||
wxSetWorkingDirectory(strPrgLocPath);
|
||||
wxExecute("ba1 -6 /uADMIN");
|
||||
|
||||
} //if (pWizard->Run())...
|
||||
pWizard->Destroy();
|
||||
|
||||
::wxMessageBox(wxT("Installazione terminata"), APPNAME, wxOK | wxICON_INFORMATION);
|
||||
// ::wxMessageBox(wxT("Installazione terminata"), APPNAME, wxOK | wxICON_INFORMATION);
|
||||
m_pMainFrame->Destroy();
|
||||
|
||||
//lanciare ba1.exe -6 in uscita (non va qui! e' solo per ricordarsi di farlo!)
|
||||
}
|
||||
|
||||
bool CampoSetup::OnInit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user