Hi Roberto,
this updates seem very promising.
I am not sure about Activate Isolation meaning - does it mean when I will run bundled EXE from C:\ , it will extract all files, including main script, to hidden C:\TEMP for example?
Thanks,
Petr
Added two flags Activate Vebose Mode and Activate Isolation.
With Verbose mode flag on, both the phase of bundle construction and bundle execution display some additional info for testing purpose, be sure don't leave this flag on when you release your final application.
With Activate Isolation flag on, when your bundled application runs all files are extracted in a temporary sub folder of extraction folder, creation and deletion are done automatically according the delete flag.
On bundle builder window you can use environmental variables like %TEMP% on both Bundle Creation Folder and Bundle Extraction Folder.
Bundle's _SetFlagVerbose() and Bundle_SetFlagIsolation() functions are added to the ThinBASIC_Bundle module so you can use these new features from a ThinBASIC script.
Also ThinAIR's BUNDLE option tab was updated for handling the two new flags.
This update will be available from the next ThinBASIC release.
Regards,
Roberto
http://www.thinbasic.com
Hi Roberto,
this updates seem very promising.
I am not sure about Activate Isolation meaning - does it mean when I will run bundled EXE from C:\ , it will extract all files, including main script, to hidden C:\TEMP for example?
Thanks,
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Yes and no.
Isolation mode means your bundled exe is exploded into a random unique sub folder name created starting from the current directory where the bundled exe is placed.
So if you are in C:\MyProgram\ directory, when executed it will create something like C:\MyProgram\X9T567\ and execute from there.
This will permit multiple execution of the same script.
We are also changing APP_ keywords to reflect this change.
Ciao
Eros
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
But if you put %TEMP% into the BUNDLE EXTRACTION FOLDER the behaviour is very closed as you say.
Ciao,
Roberto
http://www.thinbasic.com
Hey,
this is even better than I expected!
Good job!
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks