Search found 14 matches

by mikey186
Mon Mar 18, 2019 8:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Thanks for the tip! So that works, and so last but not least... installing the files. Unfortunately, I don't think there's a way to actually store the amount of files (over 10+ of it) in a LiveCode standalone application. Instead it relies on downloading from a URL. So I added a button to download t...
by mikey186
Mon Mar 18, 2019 5:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Weirder to me though, is that something here is beginning to smell rotten. Your talking about creating an installer. Why on earth would an installer be asking the end user to pick a file? If you are installing something, then any file(s) used should be in the location of the installer, or downloade...
by mikey186
Mon Mar 18, 2019 2:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

WORKS! Thank you! Now the next screen, I want to open the file and search for the text INSIDE the file and see if it contains the particular string. If it does, it moves on with the installation. IF not, it should give a beep. I tried experimenting again with the LiveCode guide and wiki and got a er...
by mikey186
Sun Mar 17, 2019 5:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

So now, how do I make the code ONLY work on one card when a user clicks on "next" as, again, the button is tied to all other cards Your cards are either named or numbered, so you can use either 'if/then' or 'case/switch' to run code specific to any card in the stack. And so the numbers represents t...
by mikey186
Sun Mar 17, 2019 6:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Ok so I managed to look into the Wiki, and tried some experiments, and FINALLY found a solution to this! So now, how do I make the code ONLY work on one card when a user clicks on "next" as, again, the button is tied to all other cards. I use the 'preopencard' varible? here's the code from the butto...
by mikey186
Thu Mar 14, 2019 8:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Thank you. I did a test stack using that same example, using RequestBin to see the data posting, and it works even it supports HTTPS, YES!!!! (I didn't know LiveCode Wiki was a thing, I thought it was only the documentation :evil: ) So now, once the POST is made, how do I make a response back? So li...
by mikey186
Thu Mar 14, 2019 6:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

It's much simpler than that. Create key-value pairs as a web browser would do: key1=x&key2=y&key3=z Then: post tValues to URL tURL put the result into tErr put it into tResponse You won't get both, either the result will be empty (success) and the "it" variable will have the server response, or the...
by mikey186
Thu Mar 14, 2019 6:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Thank you. So here's where the next part comes.... Snipaste_2019-03-13_21-45-33.jpg Now if you're familiar with this, before you ask "why make a installation with a serial number validation? Is it for commercial use?", this is for testing use only . Once I make the installation and everything else, ...
by mikey186
Wed Mar 13, 2019 10:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Hi Mickey, Yes :D You may use a preopencard handler to do that --checkbox script on mouseup doAcceptOrNot end mouseup --cd script on preopencard doAcceptOrNot end preopencard on doAcceptOrNot set the enabled of btn "bInstall" to the hilite of btn "bAccept" end doAcceptOrNot You have to consider tha...
by mikey186
Wed Mar 13, 2019 10:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

mrcoollion wrote:
Wed Mar 13, 2019 10:28 am
You could use a free installer.. or even make it a portable with a portable app installer.
Sorry, but these are only for windows, if I want something cross-platform and at a lower pricing point, this is the only way I go. LiveCode does have a ability of becoming a standalone application
by mikey186
Wed Mar 13, 2019 6:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Too lazy to bump the thread, but anyway....

Onto the License agreement, is there a way to disable the button until a user clicks on the "agree to the license agreement"?

here's the code:

Code: Select all

on card
   if "I DO NOT agree with the License Agreement" is selected then disable this button "Next"
end card
by mikey186
Wed Feb 27, 2019 7:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

Since an installer will only be neccessary for a Windows installation (maybe for Linux, too, no idea, but on a Mac we use DMGs to distribute apps), I would use "Inno Setup". That only works for windows. Unfortunately, Mac LACKS install creators. InstallBuilder by BitRock is too expensive. Even with...
by mikey186
Wed Feb 27, 2019 7:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Re: Creating a installer

I'm curious, which example stacks are you referring to? As far as I know, Code going back to at least Lc 2 should still be valid, and probably at least back to MetaCard, possibly even to Hypercard (with some adjustments), so I can't imagine how an example would become 'outdated'. Such as "MetaCard"...
by mikey186
Wed Feb 27, 2019 9:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a installer
Replies: 38
Views: 27409

Creating a installer

Hello, I want to create a installer using LiveCode, the example stacks are way too outdated, and I want to try making it myself. Is there a way I can just move to the next pane without opening another window?
Snipaste_2019-02-27_00-16-05.png