Rev 4 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 5 | ||
---|---|---|---|
1 | VIATHINKSOFT AUTOSFX |
1 | VIATHINKSOFT AUTOSFX |
2 | ==================== |
2 | ==================== |
3 | 3 | ||
4 | Benefits |
4 | Benefits |
5 | -------- |
5 | -------- |
6 | 6 | ||
7 | * Compatible with WinRAR and other software (Stub is small enough) |
7 | * Compatible with WinRAR and other software (Stub is small enough) |
8 | * Compatible with Linux' UnZip (No Warnings!) |
8 | * Compatible with Linux' UnZip (No Warnings!) |
9 | * Compatible with AuthentiCode |
9 | * Compatible with AuthentiCode |
10 | * Compatible with Windows 7 |
10 | * Compatible with Windows 7 |
11 | * Compatible with Windows 95 |
11 | * Compatible with Windows 95 |
- | 12 | * Accepts encrypted files (currently only ZIP 2.0 Standard) |
|
- | 13 | ||
- | 14 | Currently not supported |
|
- | 15 | ----------------------- |
|
- | 16 | ||
- | 17 | * AES-Encryption (128, 256 Bit) |
|
12 | 18 | ||
13 | Current overhead |
19 | Current overhead |
14 | ---------------- |
20 | ---------------- |
15 | 21 | ||
16 | 458 KB (Delphi 2006) |
22 | 458 KB (Delphi 2006) |
17 | 23 | ||
18 | Cancel |
24 | Cancel |
19 | ------ |
25 | ------ |
20 | 26 | ||
21 | Press ESC to cancel. |
27 | Press ESC to cancel. |
22 | 28 | ||
23 | The program waits 1 second before starting extraction (Prevention of malicious |
29 | The program waits 1 second before starting extraction (Prevention of malicious |
24 | AutoRun's, which call the creator SFX in an infinite loop) |
30 | AutoRun's, which call the creator SFX in an infinite loop) |
25 | 31 | ||
26 | Structure of a ViaThinkSoft AutoSFX Archive |
32 | Structure of a ViaThinkSoft AutoSFX Archive |
27 | ------------------------------------------- |
33 | ------------------------------------------- |
28 | 34 | ||
29 | 1. Extractor [UPX'ed] |
35 | 1. Extractor [UPX'ed] |
30 | includes DelZip190.dll (B4) as Resource |
36 | includes DelZip190.dll (B4) as Resource |
31 | 2. ZIP (Offset adjusted) |
37 | 2. ZIP (Offset adjusted) |
32 | File comment includes "ViaThinkSoft AutoSFX Archive" |
38 | File comment includes "ViaThinkSoft AutoSFX Archive" |
33 | 3. Optional: Authenticode Certificate |
39 | 3. Optional: Authenticode Certificate |
34 | 40 | ||
35 | Process |
41 | Process |
36 | ------- |
42 | ------- |
37 | 43 | ||
38 | 1. Extract DelZip DLL into TempDir |
44 | 1. Extract DelZip DLL into TempDir |
39 | 2. Extract contents directly |
45 | 2. Extract contents directly |
40 | 3. Open the extracted data and/or execute special AutoRun.inf (see below) |
46 | 3. Open the extracted data and/or execute special AutoRun.inf (see below) |
41 | 4. Delete the DLL from TempDir |
47 | 4. Delete the DLL from TempDir |
42 | 48 | ||
43 | Behavior |
49 | Behavior |
44 | -------- |
50 | -------- |
45 | 51 | ||
46 | ZIP has 1 file |
52 | ZIP has 1 file |
47 | => Extract in the same directory as the SFX |
53 | => Extract DIRECTLY in the specified directory |
48 | Is it a directory? |
54 | Is it a directory? |
49 | => Open the new directory in Windows Explorer |
55 | => Open the new directory in Windows Explorer |
50 | is it a file? |
56 | is it a file? |
51 | => Open Windows Explorer and select the new file. |
57 | => Open Windows Explorer and select the new file. |
52 | ZIP has 2+ files |
58 | ZIP has 2+ files |
53 | => Create a directory with the name of the SFX and extract into it |
59 | => Create a directory with the name of the SFX and extract into it |
54 | => Open the new created directory in Windows Explorer |
60 | => Open the new created directory in Windows Explorer |
55 | 61 | ||
56 | Semantic archive comment |
62 | Semantic archive comment |
57 | ------------------------ |
63 | ------------------------ |
58 | 64 | ||
59 | The extractor looks into the file comment to determinate the behavior |
65 | The extractor looks into the file comment to determinate the behavior |
60 | while unzipping. YOU can influence the behavior when creating your |
66 | while unzipping. YOU can influence the behavior when creating your |
61 | ZIP files. |
67 | ZIP files. |
62 | 68 | ||
63 | Following switches are possible: |
69 | Following switches are possible: |
64 | 70 | ||
65 | C_ASFX_CB_OVR = 'AutoSFX Conflict Behavior: Overwrite all'; |
71 | C_ASFX_CB_OVR = 'AutoSFX Conflict Behavior: Overwrite all'; |
66 | C_ASFX_CB_NEW = 'AutoSFX Conflict Behavior: Overwrite older'; |
72 | C_ASFX_CB_NEW = 'AutoSFX Conflict Behavior: Overwrite older'; |
67 | C_ASFX_CB_ASK = 'AutoSFX Conflict Behavior: Ask'; |
73 | C_ASFX_CB_ASK = 'AutoSFX Conflict Behavior: Ask'; |
68 | C_ASFX_CB_AVO = 'AutoSFX Conflict Behavior: Avoid'; |
74 | C_ASFX_CB_AVO = 'AutoSFX Conflict Behavior: Avoid'; (default) |
69 | 75 | ||
70 | C_ASFX_CP_BEF = 'AutoSFX Comment Presentation: Before extracting'; |
76 | C_ASFX_CP_BEF = 'AutoSFX Comment Presentation: Before extracting'; |
71 | C_ASFX_CP_AFT = 'AutoSFX Comment Presentation: After extracting'; |
77 | C_ASFX_CP_AFT = 'AutoSFX Comment Presentation: After extracting'; |
72 | C_ASFX_CP_NON = 'AutoSFX Comment Presentation: None'; |
78 | C_ASFX_CP_NON = 'AutoSFX Comment Presentation: None'; (default) |
73 | 79 | ||
74 | C_ASFX_FC_THS = 'AutoSFX Extraction Target: Extract here'; |
80 | C_ASFX_FC_THS = 'AutoSFX Extraction Target: Extract here'; (default) |
75 | C_ASFX_FC_DSK = 'AutoSFX Extraction Target: Extract to Desktop'; |
81 | C_ASFX_FC_DSK = 'AutoSFX Extraction Target: Extract to Desktop'; |
76 | C_ASFX_FC_ASK = 'AutoSFX Extraction Target: Choose directory'; |
82 | C_ASFX_FC_ASK = 'AutoSFX Extraction Target: Choose directory'; |
77 | 83 | ||
- | 84 | Note: If you are running the SFX from a CD-Rom, a write-protected |
|
- | 85 | directory or a flobby (doesn't matter if it is write-protected!), |
|
- | 86 | the extraction "Here" will be ignored and converted into "Desktop". |
|
- | 87 | ||
- | 88 | Note: "Avoid" means that an alternative file/foldername will be |
|
- | 89 | determinated. |
|
- | 90 | ||
78 | Special AutoRun.inf |
91 | Special AutoRun.inf |
79 | ------------------- |
92 | ------------------- |
80 | 93 | ||
81 | [AutoSFX] |
94 | [AutoSFX] |
82 | Operation=open ; Part of ShellExecute. Usually 'open' or 'runass' (e.g. for admin privilegies) |
95 | Operation=open ; Part of ShellExecute. Usually 'open' or 'runass' (e.g. for admin privilegies) |
83 | FileName=AutoRun.exe ; The filename to be executed |
96 | FileName=AutoRun.exe ; The filename to be executed |
84 | Parameters= ; Optional parameters |
97 | Parameters= ; Optional parameters |
85 | Directory= ; Optional Working directory |
98 | Directory= ; Optional Working directory |
86 | ShowCmd= ; (See MSDN Reference) Usually WS_NORMAL or WS_HIDE |
99 | ShowCmd= ; (See MSDN Reference) Usually WS_NORMAL or WS_HIDE |
87 | OpenUnzippedContent=true ; After we have opened the application, should we still show the extracted data in Windows Explorer? (Default behavior if not AutoRun is set) |
100 | OpenUnzippedContent=true ; After we have opened the application, should we still show the extracted data in Windows Explorer? (Default behavior if not AutoRun is set) |
88 | 101 | ||
89 | More information about the first 5 values: |
102 | More information about the first 5 values: |
90 | http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx |
103 | http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx |
91 | 104 | ||
92 | 105 | ||
93 | (C) 2010 ViaThinkSoft |
106 | (C) 2010 ViaThinkSoft |