PDA

View Full Version : Bundle updates



RobertoBianchi
06-11-2008, 14:16
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

Petr Schreiber
06-11-2008, 16:17
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

ErosOlmi
06-11-2008, 17:16
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

RobertoBianchi
06-11-2008, 18:00
But if you put %TEMP% into the BUNDLE EXTRACTION FOLDER the behaviour is very closed as you say.

Ciao,
Roberto

Petr Schreiber
06-11-2008, 20:31
Hey,

this is even better than I expected!
Good job!


Petr