| #ifndef SFXFORMAT_H | |
| #define SFXFORMAT_H | |
| #include "OS.h" | |
| #define ARCHIVE_PATH_PLACE_HOLDER "$#launcher#" | |
| #define FLAG_JAVA_APP 0x01 | |
| #define FLAG_JAVA_WINDOWED_APP 0x02 | |
| struct SFXFooter | |
| { | |
| UINT PackageSize; | |
| UINT CRC32; | |
| }; | |
| struct SFXHeader | |
| { | |
| BYTE Signature[19]; | |
| BYTE Version; | |
| UINT numberOfFiles; | |
| }; | |
| struct ExecutionInfo | |
| { | |
| UINT Flags; | |
| UINT ExecutableStringId; | |
| UINT ArgsStringId; | |
| }; | |
| struct FileInformation | |
| { | |
| UINT Size; | |
| UINT NameStringId; | |
| }; | |
| static const char SIGNATURE[] = "org.eclipse.epp.sfx"; | |
| #endif |