How to pack data into a 7z recursive + having autounpack EXE pack for windows?
How to pack data into a 7z recursive + having autounpack EXE pack for windows?
I would like to make a pack autoexe for windows, is that possiblewith linux? thanks |
You have to install the p7zip package. If you look at man 7z or man 7za you will have all the answers to your questions: 1) don't use the -r option for recursion, 2) use tar in conjunction with the -si option of 7za (read from standard input) to do recursion, 3) you can create a self-extracting archive using the -sfx option, e.g.
Code:
7za a -sfx archive.exe directory |
Quote:
Code:
|
It looks like version 4.43 had a bug. See an interesting discussion about this topic in the Debian forum, here. I have version 4.58 on my system (opensuse) and it works without a glitch.
|
Here we go
How to pack and SFX with 7-zip, 1/ install it, first 2/ get the files 7z.sfx and 7zCon.sfx MD5: 8a70b6be524d625d17291c6d5766cced 7z.sfx fbec918cd09e5bd955411c474d440f27 7zCon.sfx 3/ copy, as root, those 7zCon.sfx and 7z.sfx into /usr/bin (I have debian stable) 4/ type this : Code:
7z a -sfx myarchive.exe mydocument.doc [ S O L V E D] |
Quote:
this is for linux to WINDOWS : he he ******* HOWTO ******* 1/ How to make a rar extractable for windows? so get those on megaupload 5a74b0c8e3d35fe498d580e08e90650c *default.sfx 76ab410e2826456a9ca9a006ffea6766 *wincon.sfx 5a74b0c8e3d35fe498d580e08e90650c *windows.sfx eeb322f1978b711140ec076fa735cb50 *zip.sfx f53dce3ad1e2f73ccf5aa577519f1c92 *freebsd.sfx 6887d39229d11a8b063d8c9c03b0a732 *linux.sfx 4be71f85fc808ed14355ae5e2e69e9e7 *macos_x.sfx 8a70b6be524d625d17291c6d5766cced *7z.sfx fbec918cd09e5bd955411c474d440f27 *7zCon.sfx put that under /home/username/.sfx 2/ go to the folder where owns the file: so type: cp /home/username/.sfx/windows.sfx . Code:
rar a -sfxdefault.sfx myexeforwindows.exe myfiledocument.doc Say thanks please !! cuz it is no where on LINUX Boards !! SOLVED !! -- DN1NVFP0 |
All times are GMT -5. The time now is 10:40 AM. |