Hi again,
this time a simple question:
Is it possible to create a stack which is able to create an executable that executes a predefined script?
Would look like this: Write stack - > Build standalone -> Execute Standalone -> Create new executable
Just wanted to know wheter it´s possible or not.
Cheers!
Executable creation within standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Executable creation within standalone
Standalones can't build standalones.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Executable creation within standalone
On the other hand, you *can* store a stack as a custom property, then the standalone can extract that stack and execute it. But I don't know that you gain anything that way over using a substack.
What is it you're trying to accomplish? There's undoubtedly a way to get there.
What is it you're trying to accomplish? There's undoubtedly a way to get there.
-
- Posts: 76
- Joined: Sat Nov 07, 2009 7:43 pm
Re: Executable creation within standalone
Actually I wanted to know wheter it´s possibly to write an Installet. You give it the files and the tool will generate an .msi or .exe file to extract the files.
Re: Executable creation within standalone
Hi Chief,
you can store a complete binary file (like "MyApp.exe") ina custom property and "spit it out" when necessary.
"Suck in":
"Spit out"
Mac executable need to be ZIPped first, since they are folders actually.
Best
Klaus
you can store a complete binary file (like "MyApp.exe") ina custom property and "spit it out" when necessary.
"Suck in":
Code: Select all
set the my_executable of stack "installer" to url("binfile:" & path_to_your_exe)
Code: Select all
put the my_executable of stack "installer" into url("binfile:" & path_to_your_exe)
Best
Klaus