Using Export as Standalone
Posted: Fri May 18, 2012 11:11 am
I've a small APL system which I want to package up for distribution and rather than use a 3rd party installer I thought I'd be clever and use APL itself.
The base system is quite small so all of the image, parameter and code files, etc. can be fitted in one large workspace and regurgitated on the target machine. A simple gui asks a couple of questions about options and locations and voila! We have an APL system installed.
I want to generate a single executable to run the workspace which generates the system so I use File > Export and create a Standalone executable.
I did't think displaying a gui required any .Net components, but I had to add the dyalognet and bridge dlls - I found this out by temporarily not checking the runtime application option, so I could see error windows popping up. Then it asked for apltrans\win.dot - and now it starts up and dies without doing anything.
If I run this on a machine with APL installed it works, so I assume that there is some other missing element from the "Standalone" executable.
Am I doing something particularly dim or does a Standalone executable need other things to prop it up?
Chris
The base system is quite small so all of the image, parameter and code files, etc. can be fitted in one large workspace and regurgitated on the target machine. A simple gui asks a couple of questions about options and locations and voila! We have an APL system installed.
I want to generate a single executable to run the workspace which generates the system so I use File > Export and create a Standalone executable.
I did't think displaying a gui required any .Net components, but I had to add the dyalognet and bridge dlls - I found this out by temporarily not checking the runtime application option, so I could see error windows popping up. Then it asked for apltrans\win.dot - and now it starts up and dies without doing anything.
If I run this on a machine with APL installed it works, so I assume that there is some other missing element from the "Standalone" executable.
Am I doing something particularly dim or does a Standalone executable need other things to prop it up?
Chris