Post by paulsironhorse on May 11, 2021 11:38:30 GMT -5
Been away from LB for over a 2 year period, so slowly relearning the in and outs of LB.
While I can compile (tokenize) my program to run independently in another computer that does not have LB, it includes a bunch of DLL & other files. Is there a way to combine all these files into one complete file so the end user doesn't see all the clutter support files ? Probably and I faintly remember something about how, but searching has not turned up an answer for me.
The support files are needed. You can pack them into a .zip but they do eventually need to exist on the client PC. This is not unusual, neither are they really that big if you look at some modern software.
Windows has loads of support files too, you just accept them as system files.
By far the easiest way to distribute a program is to put everything in a folder, the support files, the .tkn, the .exe and perhaps the .bas. Include all needed resources like .bmp and .wav. Give this folder the name of your project and ideally the same name as the .exe. Now right click on the folder, select send to, compressed (zipped) folder.
A new .zip will be created with the name of your project.zip Send the zip to your recipient. They need simple instructions on how to unpack the .zip. It will create the same folder on the client PC and all they need do is click on the .exe within the folder.
An Installer will automate the unpacking and creation of desktop shortcuts but there isn't any real need to get that complicated.
Post by paulsironhorse on May 11, 2021 14:20:50 GMT -5
Thanks all. Some of those are too complicated for quick use for this old feeble mind. The .ZIP method should work. I want to put the files on a USB Flash drive where the end user only has to click a single item, where as if I include the support files, it may be intimidatingly to the end user to see all the extra files. Of course including a text file with instructions would work. Paul
You need to test it first. The user will never look at the files they will just click unpack. Lots of new pcs object to running software from a plug in drive as it is a security risk. Some drives can be slow. Unpacking a .zip on the other hand passes through normal virus checks and is more tolerated by pcs but there may still be nag screens. As I say test it out before committing to flash drive distribution.