Menù Principale

Cerca
Login
Registrati
Link
<< Discussione precedente | Discussione successiva >>   
Compilare X-Launcher con AutoIt3 v3.2.4.0 e successivi

Vai a pagina   <<      
Autore Messaggio
zandet2
ven 15 ott 2010 - 09:52

online

Utente registrato #3184
Registrato il: mar 06 mar 2007 - 11:52
Provenienza: Busto Arsizio
Messaggi: 3301
Nuvolari,
stai usando la versione di AutoIt che ti ho indicato?

Torna ad inizio pagina
Nuvolari
ven 15 ott 2010 - 10:04

online
Utente registrato #4173
Registrato il: lun 16 apr 2007 - 12:27
Messaggi: 294
zandet2 ha scritto ...

Nuvolari,
stai usando la versione di AutoIt che ti ho indicato?





No, sto provando con la 3.3.6.1 , pensavo che i problemi di retrocompatibilità cui ti riferivi fossero inerenti al discorso ANSI.

Sul sito di AutoIt non mi sembra di trovare link per vecchie versioni, dove posso trovare la 3.2.12.1 (magari .zip)?
Poi ci posso unire l'ultima di "AutoIt Script Editor" (2/28/2010)?

Grazie per l'aiuto


EDIT: Mi correggo, ho trovato... provo e faccio sapere


[ Modificato ven 15 ott 2010 - 10:07 ]
Torna ad inizio pagina
zandet2
ven 15 ott 2010 - 10:11

online

Utente registrato #3184
Registrato il: mar 06 mar 2007 - 11:52
Provenienza: Busto Arsizio
Messaggi: 3301
Guarda nella pagina di download di AutoIt -Link- :
a metà pagina trovi il link diretto per la 3.2.12.1 e il rimando all'archivio storico delle versioni -Link- .

Non so dirti se è compreso anche Scite4Autoit3, ma non dovrebbero esserci problemi anche per la nuova versione.

La retrocompatibilità non è solo per l'Ansi, ma AutoIt stesso dalla versione 3.3 non supporta più i SO meno recenti; al suo interno diverse funzioni sono state riscritte.
Torna ad inizio pagina
Nuvolari
ven 15 ott 2010 - 10:26

online
Utente registrato #4173
Registrato il: lun 16 apr 2007 - 12:27
Messaggi: 294
Con AutoIt 3.2.12.1 e l'ultimo AutoIt Script Editor (2/28/2010) tutto funziona a meraviglia
Grazie per l'aiuto e per la pazienza
Torna ad inizio pagina
Taf
mar 05 gen 2016 - 08:46

online

Utente registrato #251
Registrato il: lun 22 gen 2007 - 10:12
Provenienza: Buttrio (UD)
Messaggi: 3357
ENGLISH VERSION OF Tittoproject ORIGINAL POST (I'm sorry for my "basic" English... )

WARNING!: All following informations has been tested with AutoIt3 v3.2.4.9 e SciTe4AutoIt3 6/18/2007.

UNICODE support
Since Autoit rel. 3.2.4.0, program is compiled with Unicode support.

So, after this implementation all x-launcher compiled with AutoIt v3.2.4.0 and newer versions will NOT run on Windows 98 and ME (but You can compile also in ANSI mode. See related infos in this post).

How to compile a "x-launcher"
First of all, to compile a "x-launcher" must be installed AutoIt3 and Scite4AutoIt3. Moreover, if You want to modify file infos (icon, author, etc...) You must use Resource Hacker. This program must be located into "AutoIt3Wrapper" folder, present in Scite4AutoI3 installation folder (typical path: C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper)

New sintax for compiling intructions
Since AutoIt 3.2.4.0 some modifications in compiling sintax are introduced.
This small issue is easy to solve: for compiling instructions update, you need only a small text replacement in some strings.

You need to substitute:
a) ALL strings #Compiler_ with #AutoIt3Wrapper_
b) starting string #Region Compiler directives section with #Region

This is an example with OLD syntax:
#Region Compiler directives section

;** AUT2EXE settings
#Compiler_Icon = x-icon.ico
#Compiler_UseUpx = y

;** Target program Resource info
#Compiler_Res_Description = X-Firefox
#Compiler_Res_Comment = by tittoproject
#Compiler_Res_Fileversion = 1.1
#Compiler_Res_LegalCopyright = GNU General Public License
#Compiler_Res_Field = Web|www.winpenpack.com
#Compiler_Res_Field = eMail|tittoproject@gmail.com
#Compiler_Res_Field = AutoIt Version|%AutoItVer%

#EndRegion

;** Include X-Launcher's source code
#include 'x-launcher.au3'

And here you can see UPDATED syntax of same example:
#Region

;** AUT2EXE settings
#AutoIt3Wrapper_Icon = x-icon.ico
#AutoIt3Wrapper_UseUpx = y

;** Target program Resource info
#AutoIt3Wrapper_Res_Description = X-Firefox
#AutoIt3Wrapper_OutFile = X-Firefox
#AutoIt3Wrapper_Res_Comment = by tittoproject
#AutoIt3Wrapper_Res_Fileversion = 1.1
#AutoIt3Wrapper_Res_LegalCopyright = GNU General Public License
#AutoIt3Wrapper_Res_Field = Web|www.winpenpack.com
#AutoIt3Wrapper_Res_Field = eMail|tittoproject@gmail.com
#AutoIt3Wrapper_Res_Field = AutoIt Version|%AutoItVer%

#EndRegion

;** Include X-Launcher's source code
#include 'x-launcher.au3'

Last passage is a Scite compiling (Tools --> Compile). Following window will be opened, where you can modify compiling options. IMPORTANT: Here you can also compile using ANSI mode to have a x-launcher supported also in Win98/ME.



If you want ANSI mode as DEFAULT you need to add following instruction:
#AutoIt3Wrapper_UseAnsi = y


[ Modificato mar 05 gen 2016 - 08:51 ]
Torna ad inizio pagina

Vai a pagina   <<      
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