[fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Milan Marusinec
Graeme Geldenhuys wrote: * How does one create such a standalone application? * How do you include the application executable and other resources (text, image, sound files etc) inside such an installation executable? Hello Graeme, I did this on Windows in Delphi, but the principle is pretty

[fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Milan Marusinec
Andreas Schneider wrote: Hi, that works the same as in Windows and can probably be done with every executable format. Simply append the data to the end of the file and store the offset or length of that data at the end. All you have to do then is to let the program open itself (ParamStr(0)),

Re: [fpc-pascal] Re: creating a standalone executable (eg: application installation file)

2010-01-12 Thread Andreas Schneider
I think if digital signing is required, using Windows Resources would be the better way. Now that I think about it, with FPC 2.4 that should even be possible on Linux (and other platforms). Many roads lead to rome :D Am Dienstag 12 Januar 2010 14:17:21 schrieb Milan Marusinec: Andreas