Distributable format
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Distributable format
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?
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
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
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
Thanks Klaus, I thought that was the only option, but glad to get it confirmed.
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Distributable format
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.
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
This is only true for Mac applications!richmond62 wrote: ↑Fri Sep 08, 2023 10:48 amAs ALL LC standalones come as a single file, there is no need for an installer.
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Distributable format
It is also true on Linux.
AND my Devawriter Pro for Windows 'comes out of the closet' as a single file.
AND my Devawriter Pro for Windows 'comes out of the closet' as a single file.
Re: Distributable format
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.
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.
-
- Posts: 627
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Distributable format
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.Klaus wrote: ↑Fri Sep 08, 2023 11:06 amThis is only true for Mac applications!richmond62 wrote: ↑Fri Sep 08, 2023 10:48 amAs ALL LC standalones come as a single file, there is no need for an installer.
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
Re: Distributable format
Yes, Paul, we know!
Re: Distributable format
I recently released a very small app without any externals for use in my department (a Windows environment).Klaus wrote: ↑Fri Sep 08, 2023 11:06 amThis is only true for Mac applications!richmond62 wrote: ↑Fri Sep 08, 2023 10:48 amAs ALL LC standalones come as a single file, there is no need for an installer.
On Windows you will end with a separate EXE plus one or more folders and maybe an external!
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?
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Distributable format
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.
-
- Livecode Opensource Backer
- Posts: 9389
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Distributable format
Nothing that a 20 second web-search doesn't answer: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?
https://www.howtogeek.com/285410/how-to ... indows-10/
Re: Distributable format
Yeah - thanks... I saw similar links (hence my question) - but am still not clear if this is equivalent to MacOS app bundles...richmond62 wrote: ↑Sun Dec 03, 2023 8:20 pmNothing that a 20 second web-search doesn't answer: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?
https://www.howtogeek.com/285410/how-to ... indows-10/
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...