Hello FPC-Pascal,
Tuesday, January 12, 2010, 5:16:20 PM, you wrote:
GG> Interesting, I never thought of trying that, or that that would work.
GG> I'll try and create proof of concept tonight to see how it works.
This works at least in Windows, in fact I'm using it in a self
contained EXE/Data wh
Hi Graeme,
On Tue, Jan 12, 2010 at 6:07 PM, Graeme Geldenhuys
wrote:
> Hi,
>
> I have seen a few Linux application that have standalone executables
> that are installation programs. Once run, it installs the application
> in the appropriate directory location, can run as root or normal user
> and
On 12/01/2010, Andreas Schneider wrote:
> read all you need from there. So essentially your file looks like:
>
Interesting, I never thought of trying that, or that that would work.
I'll try and create proof of concept tonight to see how it works.
--
Regards,
- Graeme -
__
On 12/01/2010, ik wrote:
>
> That's not how it's been done in Linux (and unix).
> In linux you have files that starts as bash (or any other format) and tools
> that adds after the script the binary information to extract it.
I believe the tool is called 'makeself', but I don't like the bash
part
Am Tuesday 12 January 2010 13:37:26 schrieb Graeme Geldenhuys:
> Hi,
>
> I have seen a few Linux application that have standalone executables
> that are installation programs. Once run, it installs the application
> in the appropriate directory location, can run as root or normal user
> and creates
Graeme,
That's not how it's been done in Linux (and unix).
In linux you have files that starts as bash (or any other format) and tools
that adds after the script the binary information to extract it.
I do not remember at the moment the names of the tools, but you should take
a look at it. I knows
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)), seek to the end - SizeOf(
Hi,
I have seen a few Linux application that have standalone executables
that are installation programs. Once run, it installs the application
in the appropriate directory location, can run as root or normal user
and creates a desktop and Application menu icon. Similar to Windows's
setup.exe idea.