Packaging a Standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Packaging a Standalone
So... I have created my first standalone app and I want to be able to send it to others. The problem is, that it uses a bunch of inclusions (pdf driver, database file, etc.. in total 9 files). Usually when you buy a program, there is an installer that automatically downloads everything and places it in the right place. Any idea how one can do this?
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Packaging a Standalone
Hi,
I tested two ways using libURLDownloadToFile for an app with folders, subfolders and 4000 files (for OS X Windows and iOS:
1. Download a .zip file from server
It is faster than download file by file, but i've often got "request time out" which fails install
2. Download file per file
More secure but slower
Best regards
Jean-Marc
I tested two ways using libURLDownloadToFile for an app with folders, subfolders and 4000 files (for OS X Windows and iOS:
1. Download a .zip file from server
It is faster than download file by file, but i've often got "request time out" which fails install
2. Download file per file
More secure but slower
Best regards
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9669
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Packaging a Standalone
Hi.
Not sure I understand the issue. If you have a stack file that is designated as the "launcher" or "splash" stack, and add any number of other stacks in the standalone builder, then the package you end up with is completely self contained. Anyone loading that will find an "app" that works right out of the box.
Is it that there are references to external files that you are talking about?
Craig
Not sure I understand the issue. If you have a stack file that is designated as the "launcher" or "splash" stack, and add any number of other stacks in the standalone builder, then the package you end up with is completely self contained. Anyone loading that will find an "app" that works right out of the box.
Is it that there are references to external files that you are talking about?
Craig
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Packaging a Standalone
Hi Craig,
Jean-Marc
I think yesIs it that there are references to external files that you are talking about?
Jean-Marc
https://alternatic.ch
Re: Packaging a Standalone
Hi. I am talking about database drivers, pdf driver, and the local database file itself. All are saved separately.
In terms of downloading a Zip folder, or individual files, it's definitely possible, but also not very smooth. You download an app from the web and typically there is an installer that places everything in the right spot. Is it possible with liveCode?
In terms of downloading a Zip folder, or individual files, it's definitely possible, but also not very smooth. You download an app from the web and typically there is an installer that places everything in the right spot. Is it possible with liveCode?
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Packaging a Standalone
Yes i use it for my app. Installer is one cd of standaloneYou download an app from the web and typically there is an installer that places everything in the right spot. Is it possible with liveCode?
At the first open app an installer is opened and you may copy all files where you want after the user accept install.
Jean-Marc
https://alternatic.ch
Re: Packaging a Standalone
Thank you! I will check it out.
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Packaging a Standalone
I choose livecode to make an installer because i don't want depend of external things (Update are easier)
I see InnoSetUp is for windows only. LiveCode allows to make an installer for OS X, windows iOS (tested) and probably Linux and Android.
Jean-Marc
I see InnoSetUp is for windows only. LiveCode allows to make an installer for OS X, windows iOS (tested) and probably Linux and Android.
Jean-Marc
https://alternatic.ch