Page 1 of 1
Distributable format
Posted: Fri Sep 08, 2023 9:25 am
by CAsba
Hi,
Up to now, I have been planning on distributing my standalone, along with the Externals folder and other file, on a USB. But I am curious to know, is there a facility within LC to distribute a standalone with an installation package with which the user installs it to his hard disk?
Re: Distributable format
Posted: Fri Sep 08, 2023 10:14 am
by Klaus
Hi CAsba,
there is no function like this in LC for desktop apps.
However your users can simply copy the complete folder to their HD and then just start the app/exe inside of it.
Best
Klaus
Re: Distributable format
Posted: Fri Sep 08, 2023 10:28 am
by CAsba
Thanks Klaus, I thought that was the only option, but glad to get it confirmed.
Re: Distributable format
Posted: Fri Sep 08, 2023 10:48 am
by richmond62
As ALL LC standalones come as a single file, there is no need for an installer.
HOWEVER; if you are distributing standalones for Linux, the end-user has to set the executable bit, otherwise the standalone will NOT run on their machine.
Re: Distributable format
Posted: Fri Sep 08, 2023 10:55 am
by CAsba
Thanks for that.
Re: Distributable format
Posted: Fri Sep 08, 2023 11:06 am
by Klaus
richmond62 wrote: ↑Fri Sep 08, 2023 10:48 am
As ALL LC standalones come as a single file, there is no need for an installer.
This is only true for Mac applications!
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
Re: Distributable format
Posted: Fri Sep 08, 2023 11:40 am
by richmond62
It is also true on Linux.
AND my Devawriter Pro for Windows 'comes out of the closet' as a single file.
Re: Distributable format
Posted: Fri Sep 08, 2023 11:47 am
by Klaus
Just made a quick tes "w_test"t, see pic.
The folder "Externals" is empty however, since I just created a naked stack and saved it as standalone.
At least there is no "revsecurity.dll" in the same folder as the EXE anymore, as it used to be in eralier times.

Re: Distributable format
Posted: Fri Dec 01, 2023 4:41 am
by PaulDaMacMan
Klaus wrote: ↑Fri Sep 08, 2023 11:06 am
richmond62 wrote: ↑Fri Sep 08, 2023 10:48 am
As ALL LC standalones come as a single file, there is no need for an installer.
This is only true for Mac applications!
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
That's not even technically true for macOS because your .app is actually a bundle, which is in reality a folder, with subfolders for resources and the like, it's just that the macOS Finder normally displays it as if it were a single file.
Re: Distributable format
Posted: Fri Dec 01, 2023 9:58 am
by Klaus
Yes, Paul, we know!

Re: Distributable format
Posted: Fri Dec 01, 2023 7:40 pm
by stam
Klaus wrote: ↑Fri Sep 08, 2023 11:06 am
richmond62 wrote: ↑Fri Sep 08, 2023 10:48 am
As ALL LC standalones come as a single file, there is no need for an installer.
This is only true for Mac applications!
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
I recently released a very small app without any externals for use in my department (a Windows environment).
I was surprised an 'Externals' folder was created as well as I hadn't included any.
Bizarrely it automatically included the TSNet external which I had no need of and didn't use.
After manually removing all externals and rebuilding it still created an Externals folder, but this was empty - however the app worked happily without it and I was able to distribute the app as a single executable file - a rare joy on Windows
So if you don't use any externals make sure none are ticked by default and you can build a clean app on windows.
However if you do use externals or other files, it will generate other folders that will be in the same folder as the app (on Windows).
EDIT:
I don't know enough to comment but noticed a windows 10 APPXBUNDLE format - does anyone know if this can be used in a a similar fashion to MacOS app bundles?
Re: Distributable format
Posted: Sun Dec 03, 2023 8:18 pm
by richmond62
Funnily enough I have always wondered what that 'externals' folder with Windows standalones is for, as every time I have hived off a Windows standalone it has been empty.
Re: Distributable format
Posted: Sun Dec 03, 2023 8:20 pm
by richmond62
I don't know enough to comment but noticed a windows 10 APPXBUNDLE format - does anyone know if this can be used in a a similar fashion to MacOS app bundles?
Nothing that a 20 second web-search doesn't answer:
https://www.howtogeek.com/285410/how-to ... indows-10/
Re: Distributable format
Posted: Mon Dec 04, 2023 1:06 am
by stam
Yeah - thanks... I saw similar links (hence my question) - but am still not clear if this is equivalent to MacOS app bundles...
For one thing you have to 'enable sideloading'. You have to go through a convoluted process to create and install. The whole thing seems weird.
If this is the direction of travel for WinOS then perhaps LC will be produce win bundle apps?
If not, would be good to understand what is needed to build these because having read a number of articles I'm still not clear on if it's possible and how to create a bundle out of an LC standalone...