WinPenPack's X-Launcher updated

If you are currently developing portable freeware or planning to do so, use this forum to discuss technical implementation, seek out like-minded developers for partnership, or solicit interested users for beta testing.
Message
Author
User avatar
rbon
Posts: 393
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: WinPenPack's X-Launcher update

#61 Post by rbon »

sl23 wrote: Thu Jun 06, 2024 11:44 am So I downloaded the sc550 executable, which does recognise AU3 files.
This file/archive is wrong for Your Windows.

You must download the correct SciTE archive and go to:
1. Sourceforge.net -- > SciTE releases https://sourceforge.net/projects/scintilla/files/SciTE/
2. select rel. 5.5.0
3. download one of two files taht name begin with 'w' (Windows) like:
- wscite32_550.zip ; this is 32 bit SciTE for Windows
- wscite550.zip ; this is 64 bit SciTE for Windows
download the file https://sourceforge.net/projects/scinti ... p/download

With WinRAR (or similar program) open wscite550.zip --> open the folder 'wscite' and extract all files (there are only files, no directories) inside Your folder:
for example:
--> 'C:\PortableApps\X-SciTE4AutoIt3\Bin\AutoIt\3.3.16.1\SciTe\'
4. open Your SciTE and press Help --> About SciTE

You must see a dialog box with these infos:
SciTE
Version 5.5.0 Scintilla:5.5.0 Lexilla:5.3.2
Apr 23 2024 15:42:36
by Neil Hodgson.
December 1998-April 2024.
http://www.scintilla.org
Lua scripting language by TeCGraf, PUC-Rio
http://www.lua.org
Contributors:
name a
name b
and other names
this means that You have 64 bit version of SciTE.
If you had a 32 bit version you would find written in the help file:
--> Scite 5.5.0 - 32 bit
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
rbon
Posts: 393
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: WinPenPack's X-Launcher updated

#62 Post by rbon »

sl23 wrote: Sat Jun 08, 2024 6:27 am Following Argumentum's advice on the AutoIT forum, I recompiled X-Launcher using AutoIT v3.2.12.1 to a 64bit EXE. Compiling from SciTE only gives a 32bit EXE. But if you open Aut2Exe, it works, and guess what?
It fixes the SplashScreen not showing!!!! Woohoo!!!!
X-Launcher_x64 v1.5.4.zip
Adjusted command to compile as x64.
Set Language to 2057 English.
Great, I'm happy for you.

If I understood correctly:
1. there are no errors in the x-launcher 1.5.4 sources
2. you need to use an old version of AutoIt (3.2.12.1)
3. you need to go to the '\Aut2Exe' folder
4. you need to launch the executable 'Aut2exe_x64.exe'
it's correct ?

I read somewhere the difference between using:
- X-SciTE with syntax checking
- or use the 'Aut2exe_x64.exe' compiler directly

The compiler does NOT perform the syntax check, but only checks whether the file_name indicated in the .au3 file actually corresponds to the file_name you want to obtain --> see viewtopic.php?p=107049#p107049

This means that if there are errors in the source code they are ignored by the compiler 'Aut2exe_x64.exe' (also with 32 bit version) and, in principle, your x-launcher.exe may contain errors that will only be seen with its practical use.
Unfortunately there are no shortcuts in programming.

I still have a doubt.
X-SciTE doesn't compile at 64 bit because depends on the editor version?
That is, you could try the configuration
- in 'C:\PortableApps\X-SciTE4AutoIt3\Bin\AutoIt\' create the folder '3.2.12.1'
- in X-SciTE4AutoIt3.ini modify line 33 - AppVer and indicate 3.2.12.1
(AppVer behaves like a pointer to a specific folder)
- SciTE 5.5.0 - 64 bit (see previous post) must be copied to the 3.2.12.1 folder.
- try to compile as 64 bit

I don't know if all this is worth it.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
sl23
Posts: 83
Joined: Fri Jan 02, 2015 6:25 am

Re: WinPenPack's X-Launcher updated

#63 Post by sl23 »

Thanks rbon, but that's what I did in the first place. It doesn't recognise AU3 files, but the sc550 version did. I'll have to ask on AutoIT forum. :)
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

User avatar
rbon
Posts: 393
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: WinPenPack's X-Launcher updated

#64 Post by rbon »

sl23 wrote: Sat Jun 08, 2024 12:05 pm Thanks rbon, but that's what I did in the first place. It doesn't recognise AU3 files, but the sc550 version did. I'll have to ask on AutoIT forum. :)
Strange, very strange. I'll try to investigate.

I have also opened X-SciTE --> Language --> select 'AutoIt3'. In this way You select a specific lexer (syntax highlighting for AutoIt3)

But I don't really interested to You version of SciTE. As long as it works.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
sl23
Posts: 83
Joined: Fri Jan 02, 2015 6:25 am

Re: WinPenPack's X-Launcher updated

#65 Post by sl23 »

rbon wrote: Sat Jun 08, 2024 12:02 pm If I understood correctly:
1. there are no errors in the x-launcher 1.5.4 sources
2. you need to use an old version of AutoIt (3.2.12.1)
3. you need to go to the '\Aut2Exe' folder
4. you need to launch the executable 'Aut2exe_x64.exe'
it's correct ?
Yes all correct except number 1. There are still errors appearing even with this version of AutoIT.

Handy to know the differences. ;)

I have already installed v3.2.12.1 by copying the original X-SciTE.ini and X-SciTe launcher. Exactly how you suggested.

As you say, only through use will errors appear. I may have found one already!
I am using this INI code for IObit DriverBooster:
Spoiler!   

Code: Select all

[Setup]
AppName=DriverBooster

[FileSystem]
Root=@ScriptDir@
Bin=.\Bin
Lib=.\Lib
Backup=.\Backups

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

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

[SplashScreen]
Image=$Lib$\Graphics\x-splash.jpg
;Title=$AppName$
TimeOut=1500

[Environment]
USERPROFILE=$Lib$\
LOCALAPPDATA=$Lib$\
PROGAMFILES(x86)=$Lib$\
PROGRAMDATA=$Lib$\

[RunBefore]
;DirCopy: Option '|o' for overwriting existing files.
DirCopy=$Lib$\AppData|C:\Users\%USERNAME%\AppData|o
DirCopy=$Lib$\Program Files (x86)|C:\|o
DirCopy=$Lib$\ProgramData|C:\|o

[RunAfter]
;Move: Option '|o' overwrites all files and folders, the source folder is deleted. 
;Remove: Option '|e' for deleting only empty directories, recursively.
DirRemove=$Lib$\Microsoft|
DirRemove=C:\ProgramData\iTop|
DirRemove=$Lib$\|e
DirMove=C:\Users\%USERNAME%\AppData\LocalLow\IObit|$Lib$\AppData\LocalLow\|o
DirMove=C:\Users\%USERNAME%\AppData\Roaming\IObit|$Lib$\AppData\Roaming\|o
DirMove=C:\Program Files (x86)\Common Files\IObit|$Lib$\Program Files (x86)\Common Files\|o
DirMove=C:\ProgramData\IObit|$Lib$\ProgramData\|o
Although it moves folders ok, it seems to intermittently have a problem deleting some of them with this code:

Code: Select all

DirRemove=$Lib$\Microsoft|
DirRemove=$Lib$\|e
I suspect it is the reference to the $Lib$ Variable? But it has no problems with using the Lib folder in usage. So not sure what that is. Perhaps it's just code relating to both Lib folder and deleting folders?

This DirRemove=$Lib$\|e seems to work ok, but the other on - DirRemove=$Lib$\Microsoft| just doesn't want to work for some reason.
Last edited by sl23 on Sat Jun 08, 2024 12:33 pm, edited 2 times in total.
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

User avatar
sl23
Posts: 83
Joined: Fri Jan 02, 2015 6:25 am

Re: WinPenPack's X-Launcher updated

#66 Post by sl23 »

rbon wrote: Sat Jun 08, 2024 12:18 pm
sl23 wrote: Sat Jun 08, 2024 12:05 pm Thanks rbon, but that's what I did in the first place. It doesn't recognise AU3 files, but the sc550 version did. I'll have to ask on AutoIT forum. :)
Strange, very strange. I'll try to investigate.

I have also opened X-SciTE --> Language --> select 'AutoIt3'. In this way You select a specific lexer (syntax highlighting for AutoIt3)

But I don't really interested to You version of SciTE. As long as it works.
Tbh, I think I've probably messed up v3.3.16.1 by adding different versions beta updates and stuff! I did create a backup first though ;)
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

User avatar
sl23
Posts: 83
Joined: Fri Jan 02, 2015 6:25 am

Re: WinPenPack's X-Launcher updated

#67 Post by sl23 »

Do you use the AutoRunLWMenu at all? I'm having great troubles getting things to work in that, don't know if it's me or the app? lol
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

User avatar
rbon
Posts: 393
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: WinPenPack's X-Launcher updated

#68 Post by rbon »

sl23 wrote: Sat Jun 08, 2024 12:28 pm
rbon wrote: Sat Jun 08, 2024 12:02 pm
If I understood correctly:
1. there are no errors in the x-launcher 1.5.4 sources
2. you need to use an old version of AutoIt (3.2.12.1)
3. you need to go to the '\Aut2Exe' folder
4. you need to launch the executable 'Aut2exe_x64.exe'
it's correct ?
Yes all correct except number 1. There are still errors appearing even with this version of AutoIT.
I did an experiment:
I have added in AutoIt3 ver. 3.2.12.1 the subfolder 'SciTE' with SciTE ver. 1.7.7.0 including AutoIt3Wrapper and I compiled X-Launcher_x64.exe without errors and with the details visible in the Properties -> Details screen and language changed from 2057 (British english) to 1040 (Italian - default).

Remember:
1. in 'AutoIt3/Aut2Exe' dialog box I had already selected compilation x64 and file_name
2. in the 'Resource Update' (AutoIt3Wrapper GUI) dialog box You must change language
3. You can easily find Language Codes at https://wiki.freepascal.org/Language_Codes --> see third column LCID Decimal (language code of English - United States is 1033)

f you are interested You can find here at bottom the X-SciTE4AutoIt3 package containing (both versions):
1. X-SciTE with AutoIt 3.2.12.1 and SciTE 1.7.7.0 32-bit
2. X-SciTE with AutoIt 3.3.16.1 and SciTE 5.5.0 64-bit

MediaFire
X-SciTE4AutoIt3_5.5.0_x64_rev6.zip https://www.mediafire.com/file/25k3zc8i ... 6.zip/file

Here You can see SciTE 1.7.7.0 at work with AutoIt3Wrapper GUI on AutoIt3 rel. 3.2.12.1:

Image
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
rbon
Posts: 393
Joined: Wed Mar 28, 2007 2:16 am
Location: Italy

Re: WinPenPack's X-Launcher updated

#69 Post by rbon »

Here is my version of x-launcher 1.5.4 - 64 bit, compiled with the instructions indicated in my previous post. viewtopic.php?p=107143#p107143

MediaFire
X-Launcher_1.5.4_x64_launcher+sources.zip: https://www.mediafire.com/file/2a13wgof ... s.zip/file
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook.

User avatar
sl23
Posts: 83
Joined: Fri Jan 02, 2015 6:25 am

Re: WinPenPack's X-Launcher updated

#70 Post by sl23 »

Much appreciated rbon! Will take a look when I get time. Thanks so much for your help with this :)
Latest X-Launcher_x64 update - Compiled with Aut2exe_x64.exe v3.3.16.1
Latest X-Launcher_x64 v1.5.4 update - Compiled with Aut2exe_x64.exe v3.2.12.1

Post Reply