Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@18043 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d6d98b755e
commit
319d8f8ca0
@ -14,11 +14,14 @@
|
|||||||
/>
|
/>
|
||||||
</Platforms>
|
</Platforms>
|
||||||
<ToolFiles>
|
<ToolFiles>
|
||||||
|
<ToolFile
|
||||||
|
RelativePath=".\CampoRules.rules"
|
||||||
|
/>
|
||||||
</ToolFiles>
|
</ToolFiles>
|
||||||
<Configurations>
|
<Configurations>
|
||||||
<Configuration
|
<Configuration
|
||||||
Name="Debug|Win32"
|
Name="Debug|Win32"
|
||||||
OutputDirectory="..\exed\campo\setup"
|
OutputDirectory="c:\u\luca\r_10_00\cd\program\setup"
|
||||||
IntermediateDirectory="..\debug\DebugSetup"
|
IntermediateDirectory="..\debug\DebugSetup"
|
||||||
ConfigurationType="1"
|
ConfigurationType="1"
|
||||||
CharacterSet="0"
|
CharacterSet="0"
|
||||||
@ -26,9 +29,57 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
/>
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="GifCompiler"
|
||||||
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
/>
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DesCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="FormCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DatCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="SrcDebugCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="SrcReleaseCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="AlxCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="TxtCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="JpegCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="IniCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="MenCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="RepCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="TrrCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="BmpCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DirCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="MskCompiler"
|
||||||
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCXMLDataGeneratorTool"
|
Name="VCXMLDataGeneratorTool"
|
||||||
/>
|
/>
|
||||||
@ -65,7 +116,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="wsock32.lib comctl32.lib rpcrt4.lib netapi32.lib mpr.lib"
|
AdditionalDependencies="wsock32.lib comctl32.lib rpcrt4.lib netapi32.lib mpr.lib"
|
||||||
OutputFile="..\exed\setup\$(ProjectName).exe"
|
OutputFile="C:\u\luca\r_10_00\cd\program\setup\$(ProjectName).exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
@ -107,9 +158,57 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPreBuildEventTool"
|
Name="VCPreBuildEventTool"
|
||||||
/>
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="GifCompiler"
|
||||||
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCustomBuildTool"
|
Name="VCCustomBuildTool"
|
||||||
/>
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DesCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="FormCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DatCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="SrcDebugCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="SrcReleaseCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="AlxCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="TxtCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="JpegCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="IniCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="MenCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="RepCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="TrrCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="BmpCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="DirCompiler"
|
||||||
|
/>
|
||||||
|
<Tool
|
||||||
|
Name="MskCompiler"
|
||||||
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCXMLDataGeneratorTool"
|
Name="VCXMLDataGeneratorTool"
|
||||||
/>
|
/>
|
||||||
@ -242,6 +341,14 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Ini"
|
||||||
|
>
|
||||||
|
<File
|
||||||
|
RelativePath="..\setup\oem.ini"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\lib\hlw32_mc.lib"
|
RelativePath="..\lib\hlw32_mc.lib"
|
||||||
>
|
>
|
||||||
|
@ -1167,8 +1167,34 @@ void CampoSetup::NormalSetup()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 6) AGGIORNAMENTO DI ADMIN.INI CON IL TEMA DEL RESELLER
|
||||||
|
//---------------------------------------------------------
|
||||||
|
//carica il tema predefinito del reseller dentro l'admin.ini che sta in cartella programmi\dati\config..
|
||||||
|
//..in modo da vederli subito quando lancerà ba1 (e successivamente ba0)
|
||||||
|
if (bNewInstallation)
|
||||||
|
{
|
||||||
|
//file di destinazione
|
||||||
|
CampoIniFile CampoAdmin(strDataPath + "/config/admin.ini", "Colors");
|
||||||
|
|
||||||
// 6) AGGIORNAMENTO DEL MODULO SY CON EVENTUALI PATCH PRESENTI IN PROGRAM DEL CD E AGGIORNAMENTO INSTALL.INI
|
//file sorgente
|
||||||
|
const wxString strThemeFileName = Theme();
|
||||||
|
wxString strSrcThemePath = m_strSetupPath;
|
||||||
|
strSrcThemePath << strThemeFileName;
|
||||||
|
CampoIniFile CampoTheme(strSrcThemePath, "Standard");
|
||||||
|
|
||||||
|
//copia del tema standard nell'admin.ini di destinazione
|
||||||
|
long nIndex;
|
||||||
|
wxString strKey;
|
||||||
|
//ciclo su tutte le variabili del paragrafo di origine
|
||||||
|
for (bool ok = CampoTheme.GetFirstEntry(strKey, nIndex); ok; ok = CampoTheme.GetNextEntry(strKey, nIndex))
|
||||||
|
{
|
||||||
|
//copia nel corrispondente paragrafo di destinazione
|
||||||
|
CampoAdmin.Set(strKey, CampoAdmin.Get(strKey));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 7) AGGIORNAMENTO DEL MODULO SY CON EVENTUALI PATCH PRESENTI IN PROGRAM DEL CD E AGGIORNAMENTO INSTALL.INI
|
||||||
//----------------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------------
|
||||||
//procede poi al caricamento delle patch eventuali di sistema all'interno della dir 'program' e al..
|
//procede poi al caricamento delle patch eventuali di sistema all'interno della dir 'program' e al..
|
||||||
//..conseguente riaggiornamento del livello versione/patch di SY ed SR in install.ini
|
//..conseguente riaggiornamento del livello versione/patch di SY ed SR in install.ini
|
||||||
@ -1183,7 +1209,7 @@ void CampoSetup::NormalSetup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 7) CREAZIONE AUTOSTART DEI SERVERS (SE CI SONO)
|
// 8) CREAZIONE AUTOSTART DEI SERVERS (SE CI SONO)
|
||||||
//------------------------------------------------
|
//------------------------------------------------
|
||||||
//solo se sta installando campo in postazione server e deve installare un gestore di servizi..
|
//solo se sta installando campo in postazione server e deve installare un gestore di servizi..
|
||||||
//..avvia la procedura della creazione dell'autostart(un casino). Questa procedura non puo'..
|
//..avvia la procedura della creazione dell'autostart(un casino). Questa procedura non puo'..
|
||||||
@ -1198,7 +1224,7 @@ void CampoSetup::NormalSetup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 8) CREAZIONE DELL'ICONA SUL DESKTOP
|
// 9) CREAZIONE DELL'ICONA SUL DESKTOP
|
||||||
//------------------------------------
|
//------------------------------------
|
||||||
const bool bDesktopShortcut = m_pWizard->GetDesktopShortcut();
|
const bool bDesktopShortcut = m_pWizard->GetDesktopShortcut();
|
||||||
if (bDesktopShortcut)
|
if (bDesktopShortcut)
|
||||||
@ -1226,7 +1252,7 @@ void CampoSetup::NormalSetup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 9) AGGIORNAMENTO CAMPO.STP
|
// 10) AGGIORNAMENTO CAMPO.STP
|
||||||
//---------------------------
|
//---------------------------
|
||||||
if (bNewInstallation)
|
if (bNewInstallation)
|
||||||
{
|
{
|
||||||
@ -1246,7 +1272,7 @@ void CampoSetup::NormalSetup()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 10) CHIUDE IL SETUP LANCIANDO BA1 -6 PER INSTALLAZIONE MODULI
|
// 11) CHIUDE IL SETUP LANCIANDO BA1 -6 PER INSTALLAZIONE MODULI
|
||||||
//-------------------------------------------------------------
|
//-------------------------------------------------------------
|
||||||
//lanciare ba1.exe -6 in uscita
|
//lanciare ba1.exe -6 in uscita
|
||||||
if (wxSetWorkingDirectory(strPrgLocPath))
|
if (wxSetWorkingDirectory(strPrgLocPath))
|
||||||
|
@ -10,6 +10,7 @@ Name =
|
|||||||
Password = ²·s°¸´
|
Password = ²·s°¸´
|
||||||
Product = ””’“žf·›·¦¿ÀÁ‰ØÓ
|
Product = ””’“žf·›·¦¿ÀÁ‰ØÓ
|
||||||
Reseller = ’š†c¸´¸œ³´¢”ÒÑÇ<EFBFBD>å›Ó¢Õ‘
|
Reseller = ’š†c¸´¸œ³´¢”ÒÑÇ<EFBFBD>å›Ó¢Õ‘
|
||||||
|
Themes = aga_themes.ini
|
||||||
Web = www.aga.it/agarel100/
|
Web = www.aga.it/agarel100/
|
||||||
|
|
||||||
[OEM_1]
|
[OEM_1]
|
||||||
@ -21,6 +22,7 @@ Name =
|
|||||||
Password = ²·s°¸´
|
Password = ²·s°¸´
|
||||||
Product = ””’“žf·›·¦¿ÀÁ‰ØÓ
|
Product = ””’“žf·›·¦¿ÀÁ‰ØÓ
|
||||||
Reseller = ¤¼·¬¾f»›¹ØäÖДÒÑÇ<EFBFBD>×<EFBFBD>ÔÝÜׯ<EFBFBD>Î@æ—ã¢Æ›
|
Reseller = ¤¼·¬¾f»›¹ØäÖДÒÑÇ<EFBFBD>×<EFBFBD>ÔÝÜׯ<EFBFBD>Î@æ—ã¢Æ›
|
||||||
|
Themes = sirio_themes.ini
|
||||||
Web = www.aga.it/release100/
|
Web = www.aga.it/release100/
|
||||||
|
|
||||||
[OEM_2]
|
[OEM_2]
|
||||||
@ -32,5 +34,6 @@ Name =
|
|||||||
Password = ²·s°¸´
|
Password = ²·s°¸´
|
||||||
Product = ”¢Œˆ’•…
|
Product = ”¢Œˆ’•…
|
||||||
Reseller = ¥˜™•<EFBFBD>‰¦v§eÇ€³qÀw
|
Reseller = ¥˜™•<EFBFBD>‰¦v§eÇ€³qÀw
|
||||||
|
Themes = tetra_themes.ini
|
||||||
Web = www.aga.it/release100/
|
Web = www.aga.it/release100/
|
||||||
|
|
||||||
|
@ -555,7 +555,7 @@ int FindReseller()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//stringhe globali per avere sempre a disposizione Reseller, Product e Appname in ogni momento (vanno sulle finestre)
|
//stringhe globali per avere sempre a disposizione Reseller, Product e Appname in ogni momento (vanno sulle finestre)
|
||||||
static wxString _strReseller, _strProduct, _strAppname, _strLicence, _strLogo, _strIcon;
|
static wxString _strReseller, _strProduct, _strAppname, _strLicence, _strLogo, _strIcon, _strTheme;
|
||||||
|
|
||||||
//lettore del oem.ini che contiene tutte le info necessarie del CD
|
//lettore del oem.ini che contiene tutte le info necessarie del CD
|
||||||
static void ReadOemIni()
|
static void ReadOemIni()
|
||||||
@ -593,6 +593,7 @@ static void ReadOemIni()
|
|||||||
_strIcon = iniOem.Get("Icon");
|
_strIcon = iniOem.Get("Icon");
|
||||||
_strLicence = iniOem.Get("Licence");
|
_strLicence = iniOem.Get("Licence");
|
||||||
_strLogo = iniOem.Get("Logo");
|
_strLogo = iniOem.Get("Logo");
|
||||||
|
_strTheme = iniOem.Get("Themes");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -639,3 +640,10 @@ wxString Icon()
|
|||||||
ReadOemIni();
|
ReadOemIni();
|
||||||
return _strIcon;
|
return _strIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wxString Theme()
|
||||||
|
{
|
||||||
|
if (_strTheme.IsEmpty())
|
||||||
|
ReadOemIni();
|
||||||
|
return _strTheme;
|
||||||
|
}
|
||||||
|
@ -41,6 +41,7 @@ wxString Appname();
|
|||||||
wxString Licence();
|
wxString Licence();
|
||||||
wxString Logo();
|
wxString Logo();
|
||||||
wxString Icon();
|
wxString Icon();
|
||||||
|
wxString Theme();
|
||||||
|
|
||||||
#define PRODUCT Product()
|
#define PRODUCT Product()
|
||||||
#define RESELLER Reseller()
|
#define RESELLER Reseller()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user