Rev 6 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6 | Rev 10 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | 1 | ||
2 | VIATHINKSOFT AUTOSFX |
2 | ViaThinkSoft AutoSFX |
3 | ==================== |
3 | ==================== |
4 | 4 | ||
5 | Benefits |
5 | Benefits |
6 | -------- |
6 | -------- |
7 | 7 | ||
Line 48... | Line 48... | ||
48 | 4. Delete the DLL from TempDir |
48 | 4. Delete the DLL from TempDir |
49 | 49 | ||
50 | Behavior |
50 | Behavior |
51 | -------- |
51 | -------- |
52 | 52 | ||
53 | ZIP has 1 file |
53 | ZIP has 1 file: |
54 | => Extract DIRECTLY in the specified directory |
54 | * Extract DIRECTLY in the specified directory |
55 | Is it a directory? |
- | |
56 | => Open the new directory in Windows Explorer |
55 | * Is it a directory? Then open the new directory in Windows Explorer |
57 | is it a file? |
- | |
58 | => Open Windows Explorer and select the new file. |
56 | * is it a file? Then open Windows Explorer and select the new file. |
- | 57 | ||
59 | ZIP has 2+ files |
58 | ZIP has 2+ files: |
60 | => 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 |
61 | => Open the new created directory in Windows Explorer |
60 | * Open the new created directory in Windows Explorer |
62 | 61 | ||
63 | Semantic archive comment |
62 | Semantic archive comment |
64 | ------------------------ |
63 | ------------------------ |
65 | 64 | ||
66 | The extractor looks into the file comment to determinate the behavior |
65 | The extractor looks into the file comment to determinate the behavior |
67 | while unzipping. YOU can influence the behavior when creating your |
66 | while unzipping. YOU can influence the behavior when creating your |
68 | ZIP files. |
67 | ZIP files. |
69 | 68 | ||
70 | Following switches are possible: |
69 | Following switches are possible: |
71 | 70 | ||
- | 71 | ``` |
|
72 | C_ASFX_CB_OVR = 'AutoSFX Conflict Behavior: Overwrite all'; |
72 | C_ASFX_CB_OVR = 'AutoSFX Conflict Behavior: Overwrite all'; |
73 | C_ASFX_CB_NEW = 'AutoSFX Conflict Behavior: Overwrite older'; |
73 | C_ASFX_CB_NEW = 'AutoSFX Conflict Behavior: Overwrite older'; |
74 | C_ASFX_CB_ASK = 'AutoSFX Conflict Behavior: Ask'; |
74 | C_ASFX_CB_ASK = 'AutoSFX Conflict Behavior: Ask'; |
75 | C_ASFX_CB_AVO = 'AutoSFX Conflict Behavior: Avoid'; (default) |
75 | C_ASFX_CB_AVO = 'AutoSFX Conflict Behavior: Avoid'; (default) |
76 | 76 | ||
Line 79... | Line 79... | ||
79 | C_ASFX_CP_NON = 'AutoSFX Comment Presentation: None'; (default) |
79 | C_ASFX_CP_NON = 'AutoSFX Comment Presentation: None'; (default) |
80 | 80 | ||
81 | C_ASFX_FC_THS = 'AutoSFX Extraction Target: Extract here'; (default) |
81 | C_ASFX_FC_THS = 'AutoSFX Extraction Target: Extract here'; (default) |
82 | C_ASFX_FC_DSK = 'AutoSFX Extraction Target: Extract to Desktop'; |
82 | C_ASFX_FC_DSK = 'AutoSFX Extraction Target: Extract to Desktop'; |
83 | C_ASFX_FC_ASK = 'AutoSFX Extraction Target: Choose directory'; |
83 | C_ASFX_FC_ASK = 'AutoSFX Extraction Target: Choose directory'; |
- | 84 | ``` |
|
84 | 85 | ||
85 | Note: If you are running the SFX from a CD-Rom, a write-protected |
86 | Note: If you are running the SFX from a CD-Rom, a write-protected |
86 | directory or a flobby (doesn't matter if it is write-protected!), |
87 | directory or a flobby (doesn't matter if it is write-protected!), |
87 | the extraction "Here" will be ignored and converted into "Desktop". |
88 | the extraction "Here" will be ignored and converted into "Desktop". |
88 | 89 | ||
Line 90... | Line 91... | ||
90 | determinated. |
91 | determinated. |
91 | 92 | ||
92 | Special AutoRun.inf |
93 | Special AutoRun.inf |
93 | ------------------- |
94 | ------------------- |
94 | 95 | ||
- | 96 | ``` |
|
95 | [AutoSFX] |
97 | [AutoSFX] |
96 | Operation=open ; Part of ShellExecute. Usually 'open' or 'runass' (e.g. for admin privilegies) |
98 | Operation=open ; Part of ShellExecute. Usually 'open' or 'runass' (e.g. for admin privilegies) |
97 | FileName=AutoRun.exe ; The filename to be executed |
99 | FileName=AutoRun.exe ; The filename to be executed |
98 | Parameters= ; Optional parameters |
100 | Parameters= ; Optional parameters |
99 | Directory= ; Optional Working directory |
101 | Directory= ; Optional Working directory |
100 | ShowCmd= ; (See MSDN Reference) Usually WS_NORMAL or WS_HIDE |
102 | ShowCmd= ; (See MSDN Reference) Usually WS_NORMAL or WS_HIDE |
101 | 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) |
103 | 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) |
- | 104 | ``` |
|
102 | 105 | ||
103 | More information about the first 5 values: |
106 | More information about the first 5 values: |
104 | http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx |
107 | http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx |
105 | 108 |