1

I want to create a SFX installer on linux. I got source for p7Zip from here and able to build it in linux. Now I want to create SFX style archive which will launch some script or executable upon extracting on linux, any idea how to achive this in p7zip? also How do I tell the sfx archive to install to specific directory (e.g. /usr/temp)

Omkar
  • 111

1 Answers1

0

I came across the tool called makeself.

makeself.sh is a small shell script that generates a self-extractable tar.gz archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is. The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed

Zoredache
  • 20,438
Omkar
  • 111