update libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / lzma-22.01 / installer.txt
CommitLineData
9e052883 17-Zip for installers 9.38\r
2-------------------------\r
3\r
47-Zip is a file archiver for Windows NT/2000/2003/2008/XP/Vista/7/8/10. \r
5\r
67-Zip for installers is part of LZMA SDK.\r
7LZMA SDK is written and placed in the public domain by Igor Pavlov.\r
8\r
9It's allowed to join 7-Zip SFX module with another software.\r
10It's allowed to change resources of 7-Zip's SFX modules.\r
11\r
12\r
13HOW to use\r
14-----------\r
15\r
167zr.exe is reduced version of 7za.exe of 7-Zip.\r
177zr.exe supports only format with these codecs: LZMA, LZMA2, BCJ, BCJ2, ARM, Copy.\r
18\r
19Example of compressing command for installation packages:\r
20\r
217zr a archive.7z files\r
22\r
237zSD.sfx is SFX module for installers. 7zSD.sfx uses msvcrt.dll.\r
24\r
25SFX modules for installers allow to create installation program. \r
26Such module extracts archive to temp folder and then runs specified program and removes \r
27temp files after program finishing. Self-extract archive for installers must be created \r
28as joining 3 files: SFX_Module, Installer_Config, 7z_Archive. \r
29Installer_Config is optional file. You can use the following command to create installer \r
30self-extract archive:\r
31\r
32copy /b 7zSD.sfx + config.txt + archive.7z archive.exe\r
33\r
34The smallest installation package size can be achieved, if installation files was \r
35uncompressed before including to 7z archive.\r
36\r
37-y switch for installer module (at runtime) specifies quiet mode for extracting.\r
38\r
39Installer Config file format\r
40~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
41Config file contains commands for Installer. File begins from string \r
42;!@Install@!UTF-8! and ends with ;!@InstallEnd@!. File must be written \r
43in UTF-8 encoding. File contains string pairs: \r
44\r
45ID_String="Value"\r
46\r
47ID_String Description \r
48\r
49Title Title for messages \r
50BeginPrompt Begin Prompt message \r
51Progress Value can be "yes" or "no". Default value is "yes". \r
52RunProgram Command for executing. Default value is "setup.exe". \r
53 Substring %%T will be replaced with path to temporary \r
54 folder, where files were extracted \r
55Directory Directory prefix for "RunProgram". Default value is ".\\" \r
56ExecuteFile Name of file for executing \r
57ExecuteParameters Parameters for "ExecuteFile" \r
58\r
59\r
60You can omit any string pair.\r
61\r
62There are two ways to run program: RunProgram and ExecuteFile. \r
63Use RunProgram, if you want to run some program from .7z archive. \r
64Use ExecuteFile, if you want to open some document from .7z archive or \r
65if you want to execute some command from Windows.\r
66\r
67If you use RunProgram and if you specify empty directory prefix: Directory="", \r
68the system searches for the executable file in the following sequence:\r
69\r
701. The directory from which the application (installer) loaded. \r
712. The temporary folder, where files were extracted. \r
723. The Windows system directory. \r
73\r
74\r
75Config file Examples\r
76~~~~~~~~~~~~~~~~~~~~\r
77\r
78;!@Install@!UTF-8!\r
79Title="7-Zip 4.00"\r
80BeginPrompt="Do you want to install the 7-Zip 4.00?"\r
81RunProgram="setup.exe"\r
82;!@InstallEnd@!\r
83\r
84\r
85\r
86;!@Install@!UTF-8!\r
87Title="7-Zip 4.00"\r
88BeginPrompt="Do you want to install the 7-Zip 4.00?"\r
89ExecuteFile="7zip.msi"\r
90;!@InstallEnd@!\r
91\r
92\r
93\r
94;!@Install@!UTF-8!\r
95Title="7-Zip 4.01 Update"\r
96BeginPrompt="Do you want to install the 7-Zip 4.01 Update?"\r
97ExecuteFile="msiexec.exe"\r
98ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus"\r
99;!@InstallEnd@!\r
100\r
101\r
102\r
103Small SFX modules for installers\r
104--------------------------------\r
105\r
1067zS2.sfx - small SFX module (GUI version)\r
1077zS2con.sfx - small SFX module (Console version)\r
108\r
109Small SFX modules support this codecs: LZMA, LZMA2, BCJ, BCJ2, ARM, COPY\r
110\r
111Small SFX module is similar to common SFX module for installers.\r
112The difference (what's new in small version):\r
113 - Smaller size (30 KB vs 100 KB)\r
114