Knowledge

Self-extracting archive

Source 📝

646:(Explorer) schon seit fünfzehn Jahren so (Windows 95), und selbst unter DOS läßt sich sowas problemlos für die Kommandozeile einrichten, bzw. war in Dateimanagern wie dem Norton Commander schon vor bald zwanzig Jahren integriert. Es ist eine wirklich sehr schlechte Idee, ausführbare Dateien (wie .EXE-Dateien) über das Netz verteilen zu wollen - im Grunde halte ich das für unverantwortlich, gerade wenn man auch unbedarfte "Nur-Anwender" in der Zielgruppe hat. Ausführbare Dateien stellen ein erhebliches Sicherheitsrisiko dar, denn sie können Viren enthalten (und tun dies auch oft). Deshalb blockieren viele Virenscanner und Firewalls sowas, und die Anwender, die sich an die Instruktionen auf Sonys Webseite halten (gerade, weil sie nichts falsch machen möchten), werden Schwierigkeiten haben, die Datei überhaupt herunterladen zu können. Die Leute, die es dennoch schaffen, werden u.U. mit dem nächsten Problem konfrontiert, nämlich der Tatsache, daß der spezielle Selbstentpacker, der in der .EXE-Datei integriert ist, nur unter bestimmten Versionen von Windows funktioniert. Manche Windows x64-Versionen, manche Windows Starter-Versionen und manche älteren Windows-Versionen werden nicht unterstützt. Das muß nicht so sein, man müßte einfach nur einen Selbstentpacker verwenden, der mit allen Windows-Versionen kompatibel ist. 73: 32: 175: 365:. Decompression utilities must be able to handle both the file format and the algorithm used when expanding self-extracting or standard archives. Depending on the options used to create a self-extracting archive, the executable code placed at the beginning may vary. When comparing a LZMA 7z archive to a LZMA2 7z archive, for example, the decompression routines will differ. 245: 349:, and others. Many programs can handle multiple types of archives, whereas others can create, extract, or modify only one type. Additionally, there is a distinction between the file format and the compression algorithm. A single file format, such as 7z, can support multiple different compression algorithms, including 317:
opened using a suitable extractor. This tool will disregard the executable part of the file and extract only the archive resource. The self-extracting executable may need to be renamed to contain a file extension associated with the corresponding packer; archive file formats known to support this include
489:
Some systems for distributing files do not accept executable files in order to prevent the transmission of malicious programs. These systems disallow self-extracting archive files unless they are cumbersomely renamed by the sender to, say, somefiles.exe, and later renamed back again by the recipient.
475:
for security. It is important to note, however, that in many cases, the file and directory names are not included in the encryption and can be viewed by anyone without a key or password. If a person can guess part of the contents of the files from their names or context alone, an attacker may be able
316:
Unlike self-extracting archives, non-self-extracting archives only contain archived files and must be extracted with a program that is compatible with them. While some formats of self-extracting archives cannot be extracted under another operating system, non-self-extracting ones can usually still be
305:
Self-extracting archives contain an executable file module, which is used to run uncompressed files from compressed files. The latter does not require an external program to decompress the contents of the self-extracting file and can run the operation itself. However, file archivers like WinRAR can
485:
When sent as an email attachment or downloaded from the Internet, it may be a security risk. An executable file described as a self-extracting archive may actually be a malicious program. A suggested protection against this is to open it with an archive manager instead of executing it (losing the
341:
but can be opened with a suitable archive manager. Files that are not recognized as archives by archive managers due to their executable extension can be renamed into .zip. This works for ZIP archives due to the way the ZIP header is defined, but not necessarily for other less flexible archive
645:
bei modernen Systemen ist die Funktionalität, in ZIP-Archive hineinzugehen, als wären es Unterverzeichnisse im Dateisystem, voll in die Shell integriert, so daß man dafür gar kein eigenständiges Entpackprogramm mehr bemühen muß, wie das früher der Fall war. Das funktioniert auch unter Windows
332:
For example, an archive may be called "somefiles.zip—it", which can be opened under any operating system by a suitable archive manager that supports both the file format and compression algorithm used. It may also be converted into somefiles.exe, which will self-extract under
497:
Self-extracting archives will only run under the operating system family and platform with which they are compatible, making it more difficult to extract their contents under other systems. Examples of self-extracting archives, which can be run on multiple targets (such as
466:
Self-extracting archives can also be used by users without the necessary programs for extracting their contents, as long as they run a compatible operating system. A self-extracting archive may still be more convenient for users who do have archive management
306:
still treat a self-extracting file as if it were any other type of compressed file. By using a file archiver, users can view or decompress self-extracting files they received without running executable code (for example, if they are concerned about viruses).
288:
Self-extracting files are used to share compressed files with a party that may not have the software needed to decompress a regular archive. Users can also use self-extracting archives to distribute their own software. For example, the
486:
advantage of self-extraction); the archive manager will either report the file as not an archive or will show the underlying metadata of the executable file - a strong indication that the file is not actually a self-extracting archive.
278:
with machine-executable code to extract the information. Running on a compatible operating system, it does not need a suitable extractor in the target computer to extract the data. The executable part of the file is known as a
435:, where the executable file only contains a single executable, and running the file does not result in the uncompressed file being stored on disk but in its code being executed in memory after decompression. 595:(NB. NWDOSTIP.TXT is a comprehensive work on Novell DOS 7 and OpenDOS 7.01, including the description of many undocumented features and internals. It is part of the author's yet larger 513:
Since the self-extracting archives must include executable code to handle the extraction of the contained archive file, they are slightly larger in size than the original archive.
588:
Möchten Sie mit ARJ arbeiten, können Sie die .EXE-Datei auch einfach zu .ARJ umbenennen. ARJ kann darin enthaltene Dateien mit den üblichen Optionen entpacken (innerhalb des
832:
is the program that was used to generate these self-unpacking archives. This version (2.11) can generate archives which unpack themselves under CP/M or DOS. You will need
625: 313:
that supports it. Many embedded self-extractors support a number of command-line arguments, such as specifying the target location or selecting only specific files.
649: 506:) rather than only the archive contents to be usable under multiple systems, are very rare, because they require the embedded decompressor stub to be a 886: 767: 702: 862: 599:
collection maintained up to 2001 and distributed on many sites at the time. The provided link points to a HTML-converted older version of the
813:
containing a number of smaller files. When you run one, it will create its smaller files The self-extract archive programs will run under
576: 137: 109: 90: 45: 754:
Wilkinson, William "Bill" Albert; Seligman, Cory; Drushel, Richard F.; Harston, Jonathan Graham; Elliott, John C. (1999-02-17).
428:
archive, which combined a number of text files into a shell script that recreated their original content after being executed.
116: 826: 797: 604: 193: 185: 451:(most compression algorithms cannot reduce the size of already compressed files. Compression usually reduces the size of 123: 444:
Archiving files rather than sending them separately allows several related files to be combined into a single resource.
572:
NWDOS-TIPs — Tips & Tricks rund um Novell DOS 7, mit Blick auf undokumentierte Details, Bugs und Workarounds
431:
It is possible to archive both data and executable files with self-extracting archives. It must be distinguished from
229: 211: 156: 59: 902:
archives. Start one with defb 0EBh, 018h, '-pms-' and it's treated as a valid archive by the PMA utilities, sends
105: 633: 421: 94: 494:
packages instead scan file headers for the underlying format rather than relying on a correct file extension.
490:
This technique is gradually becoming less effective, however, as an increasing number of security suites and
51: 668: 471:
As long as the underlying compression algorithm and format allow it, self-extracting archives can also be
874: 755: 690: 962: 130: 857: 345:
There are several functionally equivalent but incompatible archive file formats, such as ZIP, RAR,
935: 569:
Paul, Matthias R. (1997-07-30) . "Chapter I.2. Novell DOS 7 Updates: iii. Entpacken der Updates".
83: 570: 476:
to break the encryption on the entire archive with a short amount of computing power and time.
432: 400:, or 7z X as their archivers. There are also programs that create self-extracting archives on 538: 271: 463:
documents, as many modern word processors already involve a certain level of compression).
8: 533: 491: 425: 842: 528: 417: 369: 334: 322: 294: 789: 878: 759: 694: 589: 448: 310: 309:
A self-extracting archive is extracted and stored on a disk when executed under an
392:
wizard, and others, including experimental ones. Macintosh users can choose among
244: 941: 460: 397: 20: 747: 956: 405: 385: 275: 424:
format. One of the early examples of self-extracting archives is the Unix
882: 763: 698: 281: 507: 472: 452: 810: 719: 523: 541:, a theoretical lower bound on the size of a self-extracting archive 72: 389: 268: 592:
ist dies allerdings wegen des anderen Dateikopfes nicht möglich).
393: 420:) can create self-extracting archives as regular executables in 412:(which must be present in the destination system). Others (like 368:
Several programs can create self-extracting archives. Among the
936:
http://www.jackmccarthy.com/malware/WinRAR_Archive_Creation.htm
753: 664: 549: 544: 377: 373: 290: 899: 833: 829: 739: 715: 447:
It reduces the size of files that aren't already efficiently
413: 381: 362: 354: 338: 249: 903: 822: 818: 735: 727: 503: 456: 409: 401: 358: 350: 326: 947: 907: 814: 731: 723: 499: 318: 925: 742:
header). You can find it as a self-extracting archive.
930: 346: 293:
installation program is made using the graphical GUI
97:. Unsourced material may be challenged and removed. 682: 626:"Firmware 2.00 für Sony Alpha DSLR-A850/DSLR-A900" 866: 781: 954: 821:, with identical effects. To extract them under 663:Tunney, Justine Alexandra Roberts (2020-08-24). 329:extension, just like any other executable file. 658: 656: 942:https://bitbucket.org/magli143/exomizer/Home 619: 617: 615: 613: 611: 60:Learn how and when to remove these messages 653: 325:. Typically, self-extracting files have a 230:Learn how and when to remove this message 212:Learn how and when to remove this message 157:Learn how and when to remove this message 608: 562: 248:A self-extracting archive created using 243: 872: 787: 756:"MS-DOS & CP/M-Compatible Binaries" 688: 955: 898:More fun can be had with self-extract 730:(the first three bytes are both legal 662: 408:, which utilize programs like tar and 575:. MPDOSTIP (in German) (3 ed.). 297:self-extracting module Default.sfx. 274:which combines compressed data in an 665:"αcτµαlly pδrταblε εxεcµταblε (Ape)" 623: 568: 168: 95:adding citations to reliable sources 66: 25: 13: 184:tone or style may not reflect the 14: 974: 919: 337:. It will not self-extract under 41:This article has multiple issues. 788:Elliott, John C. (2012-06-20) . 689:Elliott, John C. (1997-01-18) . 624:Paul, Matthias R. (2010-12-03). 479: 194:guide to writing better articles 173: 71: 30: 889:from the original on 2021-12-13 873:Elliott, John C. (2009-10-27). 800:from the original on 2021-11-17 770:from the original on 2021-12-13 705:from the original on 2021-12-13 671:from the original on 2021-09-12 579:from the original on 2017-09-10 82:needs additional citations for 49:or discuss these issues on the 455:documents, but rarely affects 1: 944:for 6502/Z80/6809 executables 809:Self-extracting archives are 555: 438: 7: 632:(in German). Archived from 517: 300: 16:Computer executable program 10: 979: 714:I've written a version of 18: 906:processors to 011Ah, and 388:, Make SFX, the built-in 106:"Self-extracting archive" 19:Not to be confused with 257:self-extracting archive 948:http://74.cz/make-sfx/ 433:executable compression 252: 926:http://www.winzip.com 910:processors to 0130h. 539:Kolmogorov complexity 247: 931:http://www.7-zip.org 825:, you can use ZXCC 91:improve this article 875:"CP/M info program" 492:antivirus software 272:executable program 253: 850:External link in 722:unpackable under 590:Norton Commanders 529:Self-booting disk 335:Microsoft Windows 282:decompressor stub 240: 239: 232: 222: 221: 214: 188:used on Knowledge 186:encyclopedic tone 167: 166: 159: 141: 64: 970: 963:Data compression 913: 912: 895: 894: 870: 864: 861: 855: 854: 848: 846: 838: 817:(2 or later) or 806: 805: 785: 779: 778: 776: 775: 751: 745: 744: 711: 710: 686: 680: 679: 677: 676: 660: 651: 648: 642: 641: 621: 606: 602: 598: 594: 585: 584: 566: 311:operating system 235: 228: 217: 210: 206: 203: 197: 196:for suggestions. 192:See Knowledge's 177: 176: 169: 162: 155: 151: 148: 142: 140: 99: 75: 67: 56: 34: 33: 26: 978: 977: 973: 972: 971: 969: 968: 967: 953: 952: 922: 917: 916: 892: 890: 871: 867: 852: 851: 849: 840: 839: 803: 801: 786: 782: 773: 771: 752: 748: 738:code and legal 708: 706: 687: 683: 674: 672: 661: 654: 639: 637: 622: 609: 600: 596: 582: 580: 567: 563: 558: 520: 482: 441: 303: 236: 225: 224: 223: 218: 207: 201: 198: 191: 182:This article's 178: 174: 163: 152: 146: 143: 100: 98: 88: 76: 35: 31: 24: 17: 12: 11: 5: 976: 966: 965: 951: 950: 945: 939: 933: 928: 921: 920:External links 918: 915: 914: 865: 836:to use PMSFX. 790:"Generic CP/M" 780: 746: 718:that produces 681: 652: 607: 560: 559: 557: 554: 553: 552: 547: 542: 536: 531: 526: 519: 516: 515: 514: 511: 495: 487: 481: 478: 469: 468: 464: 461:word processor 445: 440: 437: 398:The Unarchiver 372:archivers are 302: 299: 238: 237: 220: 219: 181: 179: 172: 165: 164: 79: 77: 70: 65: 39: 38: 36: 29: 21:Self-archiving 15: 9: 6: 4: 3: 2: 975: 964: 961: 960: 958: 949: 946: 943: 940: 937: 934: 932: 929: 927: 924: 923: 911: 909: 905: 901: 888: 884: 880: 876: 869: 863: 859: 844: 837: 835: 831: 828: 824: 820: 816: 812: 799: 795: 791: 784: 769: 765: 761: 757: 750: 743: 741: 737: 733: 729: 725: 721: 717: 704: 700: 696: 692: 685: 670: 666: 659: 657: 650: 647: 636:on 2015-10-03 635: 631: 627: 620: 618: 616: 614: 612: 605: 593: 591: 578: 574: 573: 565: 561: 551: 548: 546: 543: 540: 537: 535: 532: 530: 527: 525: 522: 521: 512: 509: 505: 501: 496: 493: 488: 484: 483: 480:Disadvantages 477: 474: 465: 462: 458: 454: 450: 446: 443: 442: 436: 434: 429: 427: 423: 419: 415: 411: 407: 406:shell scripts 403: 399: 395: 391: 387: 383: 379: 375: 371: 366: 364: 360: 356: 352: 348: 343: 340: 336: 330: 328: 324: 320: 314: 312: 307: 298: 296: 292: 286: 284: 283: 277: 273: 270: 266: 262: 258: 251: 246: 242: 234: 231: 216: 213: 205: 195: 189: 187: 180: 171: 170: 161: 158: 150: 147:December 2021 139: 136: 132: 129: 125: 122: 118: 115: 111: 108: –  107: 103: 102:Find sources: 96: 92: 86: 85: 80:This article 78: 74: 69: 68: 63: 61: 54: 53: 48: 47: 42: 37: 28: 27: 22: 897: 891:. Retrieved 868: 853:|quote= 827:PMSFX21X.COM 808: 802:. Retrieved 793: 783: 772:. Retrieved 749: 734:code, legal 713: 707:. Retrieved 684: 673:. Retrieved 644: 638:. Retrieved 634:the original 629: 601:NWDOSTIP.TXT 597:MPDOSTIP.ZIP 587: 581:. Retrieved 571: 564: 470: 430: 386:KGB Archiver 367: 344: 331: 315: 308: 304: 287: 280: 276:archive file 264: 260: 256: 254: 241: 226: 208: 202:January 2021 199: 183: 153: 144: 134: 127: 120: 113: 101: 89:Please help 84:verification 81: 57: 50: 44: 43:Please help 40: 938:(About SFX) 883:comp.os.cpm 794:Seasip.info 764:comp.os.cpm 699:comp.os.cpm 893:2021-12-13 811:.COM files 804:2021-12-12 774:2021-12-13 720:.COM files 709:2021-12-13 675:2021-09-12 640:2022-05-28 583:2014-08-06 556:References 508:fat binary 453:plain text 449:compressed 439:Advantages 384:, WinUHA, 117:newspapers 46:improve it 879:Newsgroup 760:Newsgroup 695:Newsgroup 691:"PMSFX 2" 524:Installer 473:encrypted 467:software. 342:formats. 52:talk page 957:Category 887:Archived 843:cite web 798:Archived 768:Archived 703:Archived 669:Archived 577:Archived 518:See also 390:IExpress 301:Overview 269:computer 881::  762::  697::  603:file.) 394:StuffIt 370:Windows 267:) is a 131:scholar 550:WinZip 545:WinRAR 378:WinRAR 374:WinZip 361:, and 291:WinRAR 133:  126:  119:  112:  104:  900:PMArc 834:PMARC 830:PMSFX 716:PMSFX 630:Mi-Fo 457:JPEGs 414:7-Zip 382:7-Zip 363:BZip2 355:LZMA2 339:Linux 250:7-Zip 138:JSTOR 124:books 904:8086 858:help 823:Unix 819:CP/M 736:8086 728:CP/M 726:and 534:Shar 504:CP/M 502:and 426:shar 410:gzip 402:Unix 359:PPMd 351:LZMA 327:.exe 321:and 110:news 908:Z80 815:DOS 740:PMA 732:Z80 724:DOS 500:DOS 459:or 422:ELF 418:RAR 416:or 404:as 323:ZIP 319:ARJ 295:RAR 265:SEA 263:or 261:SFX 93:by 959:: 896:. 885:. 877:. 847:: 845:}} 841:{{ 807:. 796:. 792:. 766:. 758:. 712:. 701:. 693:. 667:. 655:^ 643:. 628:. 610:^ 586:. 396:, 380:, 376:, 357:, 353:, 347:7z 285:. 255:A 55:. 860:) 856:( 777:. 678:. 510:. 259:( 233:) 227:( 215:) 209:( 204:) 200:( 190:. 160:) 154:( 149:) 145:( 135:· 128:· 121:· 114:· 87:. 62:) 58:( 23:.

Index

Self-archiving
improve it
talk page
Learn how and when to remove these messages

verification
improve this article
adding citations to reliable sources
"Self-extracting archive"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
encyclopedic tone
guide to writing better articles
Learn how and when to remove this message
Learn how and when to remove this message

7-Zip
computer
executable program
archive file
decompressor stub
WinRAR
RAR
operating system
ARJ
ZIP

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.