PDA

View Full Version : thinBundle !?!?



ErosOlmi
07-02-2007, 23:50
thinBundle will be one of the next new toys Roberto is preparing for thinBasic users. This is a special one!

Using thinBundle, thinBasic users will be able to create independant thinBasic script executables.
thinBundle IS NOT A COMPILER. No machine code will be produced.
thinBundle will create a kind of closed, compressed, crypted executable file containing all the resources a script needs in order to be executed without having thinBasic installed in the target machine. The .exe file produced, will be like a box containing all the files needed to execute the script (dll, modules, sources, thinBasic exe, ...).
When executed, all needed files will be extracted on disk in the same directory of the exe. All files will be system hidden. After execution, all extracted files will be deleted.

But now, no more words.
The following is an example of a bundled script: http://www.thinbasic.com/public/products/thinBasic/Temp/BreakOut.zip
It is the same script you can find here: http://community.thinbasic.com/index.php?topic=538.msg2659#msg2659
but bundled using thinBundle.

This is what we have so far. Still a lot of work to do to tune .exe creation but the main steps are already there.
Let us know what you think about it.

Eros

ADDED:
It will take some weeks to have thinBundle ready to be distributed.
Main core of the program is already there.
We are now adding some clever auto-discover script dependancy that will allow thinBundle to automatically understand which modules are needed by the script you want to bundle.
Roberto is also adding some nice options like:

possibility to include full directory of files inside bundled exe (like a zip folder)
possibility to compress included files


We will post something as soon as ready.
Stay tuned.

kryton9
08-02-2007, 02:06
Oh wow, this will launch thinBasic downloads and use now more than ever, like those cubes being launched from breakout!!

I ran the executeable with the window for the breakout folder, and never saw the files extract and then get deleted. Just seemd like a standard executeable.

I know from reading the posts on coding monkeys, this is a hot request and one that will really make thinBasic take off. Even I, although very happy with thinBasic's easy install for anyone and the auto playing of scripts, there is something about sending and executeable that makes it seem more professional and adds that much more to the download and percieved respect if you will.

It worked great and definitly a win win situation for all users. Thanks guys, very decent executeable size too!!

ErosOlmi
08-02-2007, 02:11
Thanks kryton9.

Files are extracted from executable with system + hidden attributes on.
You will be able to see them only if you check option to show system files in Windows Explorer folder options.

It was some time that we started to think about this possibility. It is now quite concrete thanks to Roberto knowledge about exe format and thanks also to nice execution speed we were able to achieve.

Eros

Michael Hartlef
11-02-2007, 12:35
Hi Eros,

long time no see. The bundled breakout version ran fine on my system. For sure this will be a great enhancement for thinbasic.
Keep up the great work.

Michael