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

ik idokan at gmail.com
Tue Jan 12 14:15:55 CET 2010


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 how to add more then one binary content to such file,
and it generate the bash script on it's own.

Ido

On Tue, Jan 12, 2010 at 14:37, Graeme Geldenhuys <graemeg.lists at gmail.com>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 creates a desktop and Application menu icon. Similar to Windows's
> setup.exe idea. An example of such a Linux application is
> 'installpixel32' from the Pixel32 project, or Kylix 3 installation.
>
> * 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?
>
>
> I'm trying to create (mainly for our company, but probably open-source
> in the end) such a standalone setup creation for our projects. This
> way it will be Linux distro independent. I also don't want to go the
> route of projects like AutoPackage that first requires a setup runtime
> to be installed. I want a installation file like what Pixel32 did. One
> installation executable without any installation runtime etc. and
> after the installation, I can simply click on 'uninstall' or run
> 'setup -u' and a graphical uninstaller is launched.
>
> I'm going to look at Loki Games's setup program to see if I can port
> it to fpGUI Toolkit, or at least get some ideas of how to create such
> a setup application. Basically I'm trying to create a "InstallShield
> Lite" but for Linux. :-)  The nice thing of Loki Games is that it run
> run as a console installation or a GUI installation - again, no idea
> how they managed that, but it was possible (Kylix 3 installation did
> that).
>
> Anybody have pointers or internet links I can read up on the subject?
>
> --
> Regards,
>  - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100112/d167ec82/attachment.html>


More information about the fpc-pascal mailing list