On 5/12/17 4:20 AM, Graham Samuel via use-livecode wrote:
your method also avoids the issue of launching a completely automatic
update without giving the user an opportunity to refuse. So you just
get the user to run the installer, the same way as Tiemo does - is
that right?
It would be if I
On 5/10/17 1:00 PM, Graham Samuel via use-livecode wrote:
Yes, but what if you want to update the launcher itself? Maybe I have
made my ‘splash’ stack too rich in function, but I can easily see it
needing revision. Because of this, I’m thinking of altering the
structure of the app so that the
Yes, but what if you want to update the launcher itself? Maybe I have made my
‘splash’ stack too rich in function, but I can easily see it needing revision.
Because of this, I’m thinking of altering the structure of the app so that the
update code is more or less all that is in the standalone
On 5/10/17 8:10 AM, Graham Samuel via use-livecode wrote:
I have already got the idea of the text file and the test you
mention. I now have to experiment with the “open invisible” approach.
I have had so many problems with the IDE when trying to open two
stacks with the same name (it’s
I think what they do is launch an updater app just before quiting themselves.
The updater stack replaces the app stack, launches the app stack then quits
itself. Only way I would know how to do it.
Bob S
> On May 10, 2017, at 04:35 , Graham Samuel via use-livecode
>
Your conflicting name problems is an example of why it is often best to
have an "updater" or "installer" stack or executable.
What gets downloaded and run is a stack whose function is to shut down
the old stack and clear it out of memory and download the new version
and set it up and then exit
Ha! This is all very educational - thanks! So you make your user go through a
classic installation process - more obvious to the user on a Mac. I notice that
some of the apps I used in daily life do this (for example, the Microsoft ones
do, I think) but others simply do the whole job invisibly
Thanks for the quick reply, Paul!
I have already got the idea of the text file and the test you mention. I now
have to experiment with the “open invisible” approach. I have had so many
problems with the IDE when trying to open two stacks with the same name (it’s
impossible AFAIKR - because LC
There are a number of ways to potentially do this, but you have the gist
already.
I'd recommend a check for updates that just fetches a text file with the
latest version number from your sever with a : Put URL into tSomeVar
check the result for any error, such as the internet not being available