Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EPP/Obsolete/Installer SFX"

< EPP
(New page: == Installer SFX archives == === Installer SFX archive file structure === {| border="1" |- | Executable Extractor |- | Files Data |- | SFX Header |-...)
 
m (Jonah.kichwacoders.com moved page Installer SFX to EPP/Obsolete/Installer SFX: Obsolete)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{warning|Note: The contents of this page is obsolete, but it may still contain some interesting tid-bits.}}
 +
 +
[[Category:EPP:Obsolete]]
 +
 
== Installer SFX archives ==
 
== Installer SFX archives ==
  
Line 7: Line 11:
 
| Executable Extractor   
 
| Executable Extractor   
 
|-
 
|-
|      Files Data       
+
|      SFX Header       
 
|-
 
|-
|      SFX Header          
+
|      Execution Information          
 
|-
 
|-
| Table Of Contents (TOC)    
+
|       File Information Table
 +
|-
 +
|      Required Files Ids Table
 +
|-
 +
|      String Table
 +
|-
 +
|      Files Data    
 
|-
 
|-
 
|      SFX Footer           
 
|      SFX Footer           
Line 18: Line 28:
 
   
 
   
 
SFX Header:
 
SFX Header:
   12 bytes - SFX signature ( including format version )
+
   19 bytes - signature  
  4 bytes - number of files
+
  1 byte  - version
 
+
  4 bytes - number of files
TOC Entry:
+
 
   4 bytes - file data offset
+
Execution Information:
   4 bytes - file data size
+
   4 bytes - flags
   4 bytes - file flags
+
  4 bytes - id in String Table of file to execute
   4 bytes - filename length (N)
+
   4 bytes - id in String Table of arguments for file to be executed
   N bytes - filename
+
 
 +
File Information Table Entry:
 +
  4 bytes - size of file
 +
   4 bytes - file last modification time
 +
 
 +
Required File Ids Table:
 +
   4 bytes - number of entries (if zero, all files must be extracted prior to execution)
 +
 
 +
Required File Ids Table Entry:
 +
  4 bytes - id in File Information Table
 +
 
 +
String Table Entry:
 +
  4 bytes - size of string in bytes
 +
   n bytes - string
  
 
SFX Footer:
 
SFX Footer:
   4 bytes - SFX header offset
+
   4 bytes - size of archive file without SFX Footer
   4 bytes - 32-bit complementary checksum
+
   4 bytes - CRC32
 +
 
 +
 
 +
[[Category:EPP]]

Latest revision as of 21:40, 6 May 2021

Warning2.png
Note: The contents of this page is obsolete, but it may still contain some interesting tid-bits.

Installer SFX archives

Installer SFX archive file structure

Executable Extractor
SFX Header
Execution Information
File Information Table
Required Files Ids Table
String Table
Files Data
SFX Footer


SFX Header:

 19 bytes - signature 
  1 byte  - version
  4 bytes - number of files
  

Execution Information:

 4 bytes - flags
 4 bytes - id in String Table of file to execute
 4 bytes - id in String Table of arguments for file to be executed

File Information Table Entry:

 4 bytes - size of file
 4 bytes - file last modification time

Required File Ids Table:

 4 bytes - number of entries (if zero, all files must be extracted prior to execution)

Required File Ids Table Entry:

 4 bytes - id in File Information Table

String Table Entry:

 4 bytes - size of string in bytes
 n bytes - string

SFX Footer:

 4 bytes - size of archive file without SFX Footer
 4 bytes - CRC32

Back to the top