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:
parent
0b6be77607
commit
e32b2cb14e
@ -1293,17 +1293,23 @@ bool CampoWizardPage9::TransferDataToWindow()
|
||||
|
||||
//controlla se il programma di teleassistenza e' gia' installato sul computer e decide se spuntare o meno..
|
||||
//..il checkbox
|
||||
bool bChkTeleass = true;
|
||||
const wxString strWinProgDir = GetWindowsProgramDirectory();
|
||||
wxString strUVNCDir = strWinProgDir + "/UltraVNC";
|
||||
wxDir dirUVNCDir(strUVNCDir);
|
||||
if (dirUVNCDir.Exists(strUVNCDir))
|
||||
bool bChkTeleass = false;
|
||||
const bool bIsAgaVersion = IsAgaVersion("../install.ini");
|
||||
if (bIsAgaVersion)
|
||||
{
|
||||
wxFileName fnFileToCheck(strUVNCDir, "winvnc");
|
||||
fnFileToCheck.SetExt("exe");
|
||||
if (fnFileToCheck.FileExists())
|
||||
bChkTeleass = false;
|
||||
bChkTeleass = true;
|
||||
const wxString strWinProgDir = GetWindowsProgramDirectory();
|
||||
wxString strUVNCDir = strWinProgDir + "/UltraVNC";
|
||||
wxDir dirUVNCDir(strUVNCDir);
|
||||
if (dirUVNCDir.Exists(strUVNCDir))
|
||||
{
|
||||
wxFileName fnFileToCheck(strUVNCDir, "winvnc");
|
||||
fnFileToCheck.SetExt("exe");
|
||||
if (fnFileToCheck.FileExists())
|
||||
bChkTeleass = false;
|
||||
}
|
||||
}
|
||||
|
||||
Set(902, bChkTeleass);
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user