Exit   

seicreator


seicreator.sh is a script that creates self-extracting archives - as a hybrid of a BASH script and a gzip-compressed tar file. The created archive, after unpacking its contents, runs a possibly present user script called post-install.sh, so it can also be a customized application installer!


Script requirements

No special requirements - Bash shell and tar program installed.


Download and installation

Download the correct file depending on your installation method!
MethodPackageMD5
A seicreator-1.06.tar.gz 72d5dee27cbb39886fe7e3ec1314b616
B seicreator-install-1.06.tgz f5d4a131063b08f5f6206bf706fda7be
For correct results, check the checksum of the downloaded file!


Method A

Unpack the downloaded tarball with the command:
tar -xf seicreator-1.06.tar.gz
There is a seicreator.sh script in the unpacked directory - so that all system users can use it, copy it, e.g. to /usr/local/bin - this requires system administrator rights - otherwise you will only be able to run the script in the local directory


Method B

On the console, go to the directory containing the downloaded installer and issue the command:
chmod 777 seicreator-install-1.06.tgz
To install the script for all system users - run the installer file with administrator rights with the command:
./seicreator-install-1.06.tgz
(or without using chmod, you can run the installer by specifying its file name as a parameter to the bash command)
If you do not have administrator rights, you can run the installation to a local (current) directory by issuing the command:
./seicreator-install-1.06.tgz ./
Correct installation is confirmed by an appropriate message (error message in case of failure).


Usage example

seicreator.sh myinstall.tgz /usr/local/bin dir1/ dir2/ file1 file2 post-install.sh

After issuing this command in the current directory, the script will create a self-extracting archive myinstall.tgz. This archive can be run and unpacked anywhere in the file system - the contents will go to /usr/local/bin and the post-install.sh script will be run. Finally, the archive deletes itself.


Notes

You can use the script for free only for non-commercial purposes. You can distribute the package on any medium, provided that you include a link to this page!


Links

GNU Tar home page: https://www.gnu.org/software/tar/  
GNU Bash home page: www.gnu.org/software/bash

∗∗∗