Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@18173 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-02-02 14:07:13 +00:00
parent d0a3e3ce4c
commit 48628bb904
2 changed files with 10 additions and 5 deletions

View File

@ -839,6 +839,7 @@ void CampoSetup::ClientUpdate()
fn.MakeAbsolute();
fn.SetFullName("install.ini");
const wxString strLocalPath = fn.GetPath();
wxString strRemotePath;
{
CampoIniFile iniLocalInstall(fn.GetFullPath(), "Main");
@ -1424,14 +1425,18 @@ void CampoSetup::OnTimer(wxTimerEvent& WXUNUSED(e))
return;
}
wxFileName strPath(argv[0]);
strPath.MakeAbsolute();
strPath.SetCwd();
//path del programma setup.exe in esecuzione; serve in seguito in quanto alcuni metodi (tipo la GetAllFiles)..
//..fanno perdere questo path
m_strSetupPath = strPath.GetPath();
//attenzione!!! il path DEVE terminare con "\" sennò in base al tipo di chiamata (-uw,-uc,-ud) i rispettivi..
//..metodi funzionano a casaccio!!!
m_strSetupPath = wxGetCwd();
m_strSetupPath.MakeLower();
if (!m_strSetupPath.EndsWith("setup"))
{
m_strSetupPath << "\\setup";
wxSetWorkingDirectory(m_strSetupPath);
}
if (!m_strSetupPath.EndsWith(wxT("\\")))
m_strSetupPath << '\\';

View File

@ -11,7 +11,7 @@ Password =
Product = 敂挀瀎窙乏坷翂赜
Reseller = 挌哻复笢炒<EFBFBD>已菑鍥英諔
Themes = aga_themes.ini
Web = www.aga.it/agarel100/
Web = www.aga.it/release100/
[OEM_1]
Administrator = 挆拰<EFBFBD>