Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: for the plan.

Jump to: navigation, search

EPP/Obsolete/Installer SFX

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