Creating self-extracting zip archives for both Linux and Windows
If you want to make an self extracting zip archive for Linux and Windows systems, you have to prepend self extracting stubs on zip file.
For Linux, download Unzip (which includes unzipsfx) from InfoZIP website and extract it. To create self extracting Linux archive file, type:
cat unzipsfx example.zip > example
chmod 755 example
Now example is a regular binary and when executes ./example it will be extracted.
To create win32 self extracting (.exe) archives, you have to find unzipsfx.exe and type following commands:
cat unzipsfx.exe example.zip > example.exe
and example.exe will be a self-extracting win32 zip archive.
- 0 Comment
- Murat Demirten
- 07 Jul 2008, 14:03
-
You must be login first or sign-up for an account to post comments.
USERBOX
CATEGORIES
MOST READ TODAY
- Remove all frozen messages from exim mail queue
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Disabling emacs splash screen
- Redirecting TCP ports with redir
- dropbear rsa key problem
- ssh X11 forwarding
- Calculating SHA Checksums
- Improving file system performance with noatime
- How to extract a deb package without installing
LAST ADDED
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
- Evaluating expressions
- Using netstat
