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
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Calculating SHA Checksums
- Enabling remote desktop on a VirtualBox Machine
- Users with /bin/false shell to login on vsftpd
- Redirecting tcp / udp ports with socat
- How to extract a deb package without installing
- How to record a linux session
- Recursively mput with smbclient
- Booting from an ISO image using qemu
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- 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
