Installer Logic [message #17865] |
Fri, 23 April 2004 02:16 |
|
I love the installer that you guys made for FUDforum.
I was wondering if someone could help me understand the logic behind it because I would love to integrate something like this in my open source project.
Reasons I am looking into this:
The application I am creating needs an installer and its mostly a framework that works off of components and I need to be able to streamline the installations of components with one file. Currently tarballs and otherfile types wont work because I need to have functions to upgrade, backup, restore, etc. This installer seems like it could be the answer to my problems and seeing as it is released under the GNU it would be well worth my time.
If someone could please help me contact me via jabber or msg back on this board
|
|
|
Re: Installer Logic [message #17867 is a reply to message #17865] |
Fri, 23 April 2004 04:07 |
|
okay I found out pretty much all of the data with in the file area... I just cant figure out what that second number is used for .
just to make sure I am correct here:
//file.extension//?what_am_i?//path/to/dir//md5//length//
could it be the file size in bytes?
thanks
|
|
|
Re: Installer Logic [message #17876 is a reply to message #17867] |
Fri, 23 April 2004 12:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
First of all you should checkout FUDforum from the CVS, this will give you the create_file_list script that is used to create the archive inside the installer/upgrade scripts.
The format it self is pretty simple:
//name//permissions//directory//md5_of_data//length_of_data//
data_it_self
FUDforum Core Developer
|
|
|
|
|
|
Re: Installer Logic [message #17917 is a reply to message #17865] |
Sun, 25 April 2004 14:47 |
|
just wanted to get a simple explaination.
when using zlib to decompress one does not need to change the format of the <?php open tag? This seems to be the case just looking for some clarification.
|
|
|
Re: Installer Logic [message #17918 is a reply to message #17917] |
Sun, 25 April 2004 14:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Zlib compression is no different from regular archive, you don't need to do anything special.
FUDforum Core Developer
|
|
|