Patch level :10.0 cd 180

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
sistemato definitivamente (speriamo!)  il problema del vnc


git-svn-id: svn://10.65.10.50/trunk@17795 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2008-12-03 16:09:13 +00:00
parent 0b6be77607
commit e32b2cb14e

View File

@ -1293,17 +1293,23 @@ bool CampoWizardPage9::TransferDataToWindow()
//controlla se il programma di teleassistenza e' gia' installato sul computer e decide se spuntare o meno.. //controlla se il programma di teleassistenza e' gia' installato sul computer e decide se spuntare o meno..
//..il checkbox //..il checkbox
bool bChkTeleass = true; bool bChkTeleass = false;
const wxString strWinProgDir = GetWindowsProgramDirectory(); const bool bIsAgaVersion = IsAgaVersion("../install.ini");
wxString strUVNCDir = strWinProgDir + "/UltraVNC"; if (bIsAgaVersion)
wxDir dirUVNCDir(strUVNCDir);
if (dirUVNCDir.Exists(strUVNCDir))
{ {
wxFileName fnFileToCheck(strUVNCDir, "winvnc"); bChkTeleass = true;
fnFileToCheck.SetExt("exe"); const wxString strWinProgDir = GetWindowsProgramDirectory();
if (fnFileToCheck.FileExists()) wxString strUVNCDir = strWinProgDir + "/UltraVNC";
bChkTeleass = false; wxDir dirUVNCDir(strUVNCDir);
if (dirUVNCDir.Exists(strUVNCDir))
{
wxFileName fnFileToCheck(strUVNCDir, "winvnc");
fnFileToCheck.SetExt("exe");
if (fnFileToCheck.FileExists())
bChkTeleass = false;
}
} }
Set(902, bChkTeleass); Set(902, bChkTeleass);
return true; return true;