Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@15624 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
96f33c01ee
commit
0f454ec939
@ -2204,8 +2204,10 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
|
||||
//tipo di installazione/aggiornamento
|
||||
const unsigned int uInstallationType = m_pWizard->GetInstallationType();
|
||||
const bool bNewInstallation = uInstallationType < 3;
|
||||
//installazione servers?
|
||||
//installazione servers? solo per server di campo
|
||||
const bool bInstallLurch = uInstallationType == 1 && (m_pWizard->GetInstUseAuth() || m_pWizard->GetInstUseDict());
|
||||
//uso servers? sarebbe solo per i client ma lo teniamo buono per tutti
|
||||
const bool bUseLurch = uInstallationType != 1 && (!m_pWizard->GetSrvAuth().IsEmpty() || !m_pWizard->GetSrvDict().IsEmpty());
|
||||
//installazione datidemo? (oddio speriamo di no!; comunque vale solo per installazione standard)
|
||||
const bool bInstallDemoData = uInstallationType == 0 && m_pWizard->GetInstDemoData();
|
||||
//cartelle selezionate dall'utente
|
||||
@ -2382,13 +2384,11 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
|
||||
}
|
||||
}
|
||||
//paragrafo [Server]
|
||||
if (bInstallLurch)
|
||||
if (bInstallLurch || bUseLurch)
|
||||
{
|
||||
CampoIniFile CampoIniSrv(strPrgLocPath + "/campo.ini", "Server");
|
||||
if (m_pWizard->GetInstUseAuth())
|
||||
CampoIniSrv.Set("Authoriz", m_pWizard->GetSrvAuth());
|
||||
if (m_pWizard->GetInstUseDict())
|
||||
CampoIniSrv.Set("Dictionary", m_pWizard->GetSrvDict());
|
||||
CampoIniSrv.Set("Dongle", m_pWizard->GetSrvAuth());
|
||||
CampoIniSrv.Set("Dictionary", m_pWizard->GetSrvDict());
|
||||
}
|
||||
} //if(bNewInstallation...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user