Menù Principale

Cerca
Login
Registrati
Link
<< Discussione precedente | Discussione successiva >>   
X-DCPlusPlus Launcher

Autore Messaggio
Danix
sab 25 ago 2007 - 03:39

online

Utente registrato #1
Registrato il: ven 29 dic 2006 - 05:38
Provenienza: Sassari
Messaggi: 12956

X-DCPlusPlus Launcher [rev1]

  1. Portabilizzazione
  2. Backup delle impostazioni
  3. Profilo in \User
  4. Avvio in Italiano o Inglese



[Setup]
AppName=DCplusplus

[FileToRun]
PathToExe=$Bin$\$AppName$\$AppName$.exe

[Environment]
DCplusplus_Downloads=$Download$\$AppName$\Downloads\
DCplusplus_Incomplete=$Download$\$AppName$\Incomplete\
DCplusplus_Shared=$Download$\$AppName$\Shared\

[Functions]
FileCopy=$Temp$\x-default|$Home$\$AppName$\$AppName$.xml
FileMove=$ExeDir$\$AppName$.chm|$ExeDir$\$AppName$.chm.bak

;----------------------------
;    ** Italian version **
;----------------------------
FileCopy=$Temp$\x-default_it|$Home$\$AppName$\Italiano.xml
;----------------------------------------------------------

;----------------------------
;    ** English version **
;----------------------------
;FileMove=$Home$\$AppName$\Italiano.xml|$Home$\$AppName$\Italiano.xml.bak
;------------------------------------------------------------------------

DirCreate=%DCplusplus_Downloads%|%DCplusplus_Incomplete%|%DCplusplus_Shared%
FileDelete=$ExeDir$\DCplusplus.pdb

[RunAfter]
DirMove=$Backup$\$AppName$_9|$Backup$\$AppName$_10|o
DirMove=$Backup$\$AppName$_8|$Backup$\$AppName$_9|o
DirMove=$Backup$\$AppName$_7|$Backup$\$AppName$_8|o
DirMove=$Backup$\$AppName$_6|$Backup$\$AppName$_7|o
DirMove=$Backup$\$AppName$_5|$Backup$\$AppName$_6|o
DirMove=$Backup$\$AppName$_4|$Backup$\$AppName$_5|o
DirMove=$Backup$\$AppName$_3|$Backup$\$AppName$_4|o
DirMove=$Backup$\$AppName$_2|$Backup$\$AppName$_3|o
DirMove=$Backup$\$AppName$_1|$Backup$\$AppName$_2|o
FileCopy=$Home$\$AppName$\DCPlusPlus.xml|$Backup$\$AppName$_1\|o
FileCopy=$Home$\$AppName$\Queue.xml|$Backup$\$AppName$_1\|o

[StringReplace=$Home$\$AppName$\$AppName$.xml]
<LogDirectory type|</LogDirectory>=="string">$Home$\$AppName$\Logs\
<DownloadDirectory type|</DownloadDirectory>=="string">%DCplusplus_Downloads%
<TempDownloadDirectory type|</TempDownloadDirectory>=="string">%DCplusplus_Incomplete%
<Directory Virtual|</Directory>=="Shared">%DCplusplus_Shared%

;----------------------------
;    ** Italian version **
;----------------------------
<LanguageFile type|</LanguageFile>=="string">$Home$\$AppName$\Italiano.xml
;-------------------------------------------------------------------------

[StringReplace=$ExeDir$\dcppboot.xml]
<Config|</ConfigPath>=Path>$Home$\$AppName$\

[WriteToReg=$Home$\$AppName$\$AppName$_1.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Classes\magnet

[WriteToReg=$Home$\$AppName$\$AppName$_2.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Magnet

[RunBefore]
RegEdit=$Home$\$AppName$\$AppName$_1.reg;$AppName$_2.reg

[Options]
DeleteTemp=true
MultipleIstances=true
RunWait=true
WriteLog=false
ShowSplash=true

[SplashScreen]
Image=
Title=winPenPack
TimeOut=1500
Torna ad inizio pagina
Sito Web
Danix
mer 20 feb 2008 - 22:36

online

Utente registrato #1
Registrato il: ven 29 dic 2006 - 05:38
Provenienza: Sassari
Messaggi: 12956
[rev3]
Cambiata la gestione della localizzazione, ora il file Italiano.xml non è più integrato nel launcher ma va inserito in \Lib\DCplusplus\locale\it
Questo permetterà quasi sicuramente di utilizzare lo stesso launcher con differenti versioni di DCplusplus, ovviamente inserendo un nuovo file della lingua in Lib\DCplusplus\locale\it



[Setup]
AppName=DCplusplus

[FileToRun]
PathToExe=$Bin$\$AppName$\$AppName$.exe

[Environment]
DCplusplus_Downloads=$Download$\$AppName$\Downloads\
DCplusplus_Incomplete=$Download$\$AppName$\Incomplete\
DCplusplus_Shared=$Download$\$AppName$\Shared\
DCplusplus_Locale=$Lib$\$AppName$\locale\it

[Functions]
FileCopy=$Temp$\x-default|$Home$\$AppName$\$AppName$.xml
FileMove=$ExeDir$\$AppName$.chm|$ExeDir$\$AppName$.chm.bak

;----------------------------
;    ** Italian version **
;----------------------------
FileMove=$Home$\$AppName$\Italiano.xml.bak|$Home$\$AppName$\Italiano.xml
FileCopy=%DCplusplus_Locale%|$Home$\$AppName$\Italiano.xml
;----------------------------------------------------------

;----------------------------
;    ** English version **
;----------------------------
;FileMove=$Home$\$AppName$\Italiano.xml|$Home$\$AppName$\Italiano.xml.bak
;------------------------------------------------------------------------

DirCreate=%DCplusplus_Downloads%|%DCplusplus_Incomplete%|%DCplusplus_Shared%
FileDelete=$ExeDir$\DCplusplus.pdb

[RunAfter]
DirMove=$Backup$\$AppName$\backup_4|$Backup$\$AppName$\backup_5|o
DirMove=$Backup$\$AppName$\backup_3|$Backup$\$AppName$\backup_4|o
DirMove=$Backup$\$AppName$\backup_2|$Backup$\$AppName$\backup_3|o
DirMove=$Backup$\$AppName$\backup_1|$Backup$\$AppName$\backup_2|o
FileCopy=$Home$\$AppName$\DCPlusPlus.xml|$Backup$\$AppName$\backup_1\|o
FileCopy=$Home$\$AppName$\Queue.xml|$Backup$\$AppName$\backup_1\|o
DirRemove=$Backup$\$AppName$\backup_5\backup_4

[StringReplace=$Home$\$AppName$\$AppName$.xml]
<LogDirectory type|</LogDirectory>=="string">$Home$\$AppName$\Logs\
<DownloadDirectory type|</DownloadDirectory>=="string">%DCplusplus_Downloads%
<TempDownloadDirectory type|</TempDownloadDirectory>=="string">%DCplusplus_Incomplete%
<Directory Virtual|</Directory>=="Shared">%DCplusplus_Shared%

;----------------------------
;    ** Italian version **
;----------------------------
<LanguageFile type|</LanguageFile>=="string">$Home$\$AppName$\Italiano.xml
;-------------------------------------------------------------------------

[StringReplace=$ExeDir$\dcppboot.xml]
<Config|</ConfigPath>=Path>$Home$\$AppName$\

[WriteToReg=$Home$\$AppName$\$AppName$_1.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Classes\magnet

[WriteToReg=$Home$\$AppName$\$AppName$_2.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Magnet

[RunBefore]
RegEdit=$Home$\$AppName$\$AppName$_1.reg;$AppName$_2.reg

[Options]
DeleteTemp=true
MultipleIstances=true
RunWait=true
WriteLog=false
ShowSplash=true

[SplashScreen]
Image=
Title=
TimeOut=1500
Torna ad inizio pagina
Sito Web
Danix
sab 15 mar 2008 - 23:05

online

Utente registrato #1
Registrato il: ven 29 dic 2006 - 05:38
Provenienza: Sassari
Messaggi: 12956
[rev4]

Cambiata la localizzazione e sua gestione.

[Setup]
AppName=DCplusplus

[FileToRun]
PathToExe=$Bin$\$AppName$\$AppName$.exe

[Environment]
DCplusplus_Downloads=$Download$\$AppName$\Downloads\
DCplusplus_Incomplete=$Download$\$AppName$\Incomplete\
DCplusplus_Shared=$Download$\$AppName$\Shared\
DCplusplus_Logs=$Home$\$AppName$\Logs\

[Functions]
DirCreate=%DCplusplus_Downloads%|%DCplusplus_Incomplete%|%DCplusplus_Shared%
FileCopy=$Temp$\x-default|$Home$\$AppName$\$AppName$.xml
FileMove=$ExeDir$\$AppName$.chm|$ExeDir$\$AppName$.chm.bak

;--------------------
;    * Locale IT *
;--------------------
DirCopy=$ExeDir$\locale\it|$ExeDir$\locale_it\it
DirRemove=$ExeDir$\locale
DirMove=$ExeDir$\locale_it|$ExeDir$\locale
;-----------------------------------------------

[StringReplace=$ExeDir$\dcppboot.xml]
<Config|</ConfigPath>=Path>$Home$\$AppName$\

[StringReplace=$Home$\$AppName$\$AppName$.xml]
<LogDirectory type|</LogDirectory>=="string">%DCplusplus_Logs%
<DownloadDirectory type|</DownloadDirectory>=="string">%DCplusplus_Downloads%
<TempDownloadDirectory type|</TempDownloadDirectory>=="string">%DCplusplus_Incomplete%
<Directory Virtual|</Directory>=="Shared">%DCplusplus_Shared%

;--------------------
;    * Locale IT *
;--------------------
;<LanguageFile type|</LanguageFile>=="string">it
;----------------------------------------------

[WriteToReg=$Home$\$AppName$\$AppName$_1.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Classes\magnet

[WriteToReg=$Home$\$AppName$\$AppName$_2.reg]
MainKey=HKEY_LOCAL_MACHINE\SOFTWARE\Magnet

[RunBefore]
RegEdit=$Home$\$AppName$\$AppName$_1.reg;$AppName$_2.reg

[RunAfter]
FileMove=$ExeDir$\$AppName$.chm.bak|$ExeDir$\$AppName$.chm

;-----------------
;    * Backup *
;-----------------
DirMove=$Backup$\$AppName$\backup_4|$Backup$\$AppName$\backup_5|o
DirMove=$Backup$\$AppName$\backup_3|$Backup$\$AppName$\backup_4|o
DirMove=$Backup$\$AppName$\backup_2|$Backup$\$AppName$\backup_3|o
DirMove=$Backup$\$AppName$\backup_1|$Backup$\$AppName$\backup_2|o
FileCopy=$Home$\$AppName$\DCPlusPlus.xml|$Backup$\$AppName$\backup_1\|o
FileCopy=$Home$\$AppName$\Queue.xml|$Backup$\$AppName$\backup_1\|o
DirRemove=$Backup$\$AppName$\backup_5\backup_4
;----------------------------------------------------------------------

[Options]
DeleteTemp=true
MultipleIstances=true
RunWait=true
WriteLog=false
ShowSplash=true

[SplashScreen]
Image=
Title=
TimeOut=1500
Torna ad inizio pagina
Sito Web

Moderatori: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Salta:     Torna ad inizio pagina

RSS discussione: rss 0.92 RSS discussione: rss 2.0 RSS discussione: RDF
Powered by e107 Forum System