<div dir="ltr"><div class="gmail_quote">Graeme,<br><br>That's not how it's been done in Linux (and unix).<br>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.<br>
<br>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.<br><br>Ido<br><br>
On Tue, Jan 12, 2010 at 14:37, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I have seen a few Linux application that have standalone executables<br>
that are installation programs. Once run, it installs the application<br>
in the appropriate directory location, can run as root or normal user<br>
and creates a desktop and Application menu icon. Similar to Windows's<br>
setup.exe idea. An example of such a Linux application is<br>
'installpixel32' from the Pixel32 project, or Kylix 3 installation.<br>
<br>
* How does one create such a standalone application?<br>
* How do you include the application executable and other resources<br>
(text, image, sound files etc) inside such an installation executable?<br>
<br>
<br>
I'm trying to create (mainly for our company, but probably open-source<br>
in the end) such a standalone setup creation for our projects. This<br>
way it will be Linux distro independent. I also don't want to go the<br>
route of projects like AutoPackage that first requires a setup runtime<br>
to be installed. I want a installation file like what Pixel32 did. One<br>
installation executable without any installation runtime etc. and<br>
after the installation, I can simply click on 'uninstall' or run<br>
'setup -u' and a graphical uninstaller is launched.<br>
<br>
I'm going to look at Loki Games's setup program to see if I can port<br>
it to fpGUI Toolkit, or at least get some ideas of how to create such<br>
a setup application. Basically I'm trying to create a "InstallShield<br>
Lite" but for Linux. :-) The nice thing of Loki Games is that it run<br>
run as a console installation or a GUI installation - again, no idea<br>
how they managed that, but it was possible (Kylix 3 installation did<br>
that).<br>
<br>
Anybody have pointers or internet links I can read up on the subject?<br>
<br>
--<br>
Regards,<br>
- Graeme -<br>
<br>
<br>
_______________________________________________<br>
fpGUI - a cross-platform Free Pascal GUI toolkit<br>
<a href="http://opensoft.homeip.net/fpgui/" target="_blank">http://opensoft.homeip.net/fpgui/</a><br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>