Page 1 of 1

Executable creation within standalone

Posted: Sat Aug 28, 2010 6:37 pm
by MasterchiefJB
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!

Re: Executable creation within standalone

Posted: Sat Aug 28, 2010 8:29 pm
by FourthWorld
Standalones can't build standalones.

Re: Executable creation within standalone

Posted: Sun Aug 29, 2010 2:19 am
by mwieder
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.

Re: Executable creation within standalone

Posted: Sat Sep 04, 2010 9:23 am
by MasterchiefJB
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

Posted: Sat Sep 04, 2010 12:50 pm
by Klaus
Hi Chief,

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)
"Spit out"

Code: Select all

put the my_executable of stack "installer" into url("binfile:" & path_to_your_exe)
Mac executable need to be ZIPped first, since they are folders actually.


Best

Klaus