<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16945" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><BR><FONT face="Times New Roman" size=3>----- 
Original Message ----- <BR>From: "Graeme Geldenhuys" <BR><</FONT><A 
href=""><FONT face="Times New Roman" 
size=3>graemeg.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</FONT></A><FONT 
face="Times New Roman" size=3>><BR>Newsgroups: 
gmane.comp.compilers.free-pascal.general<BR>To: "FPC-Pascal users discussions" 
<BR><</FONT><A href=""><FONT face="Times New Roman" 
size=3>fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b@public.gmane.org</FONT></A><FONT 
face="Times New Roman" size=3>><BR>Sent: Tuesday, January 12, 2010 11:37 
PM<BR>Subject: creating a standalone executable (eg: applicationinstallation 
file)<BR><BR><BR>> 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>> </FONT><A href=""><FONT face="Times New Roman" 
size=3>http://opensoft.homeip.net/fpgui/</FONT></A><BR><FONT 
face="Times New Roman" size=3>> 
_______________________________________________<BR>> fpc-pascal 
maillist  - <BR>> </FONT><A href=""><FONT face="Times New Roman" 
size=3>fpc-pascal-PD4FTy7X32k2wBtHl531yWD2FQJk+8+b@public.gmane.org</FONT></A><BR><FONT 
face="Times New Roman" size=3>> </FONT><A href=""><FONT 
face="Times New Roman" 
size=3>http://lists.freepascal.org/mailman/listinfo/fpc-pascal</FONT></A><BR><FONT 
face="Times New Roman" size=3>><BR><BR>Hi Graeme,<BR>   perhaps 
this link might help - it shows you how to create a linux script <BR>with 
appended zip'd data, and then make it executable so it can be run as a 
<BR>normal program :)<BR><BR></FONT><A href=""><FONT face="Times New Roman" 
size=3>http://www.franzone.com/2008/08/14/how-to-create-a-bash-install-script/</FONT></A><BR><BR><FONT 
face="Times New Roman" size=3>cheers,<BR>Paul 
</FONT><BR></FONT></DIV></BODY></HTML>