Single Post |
Topic: Вопрос по плагину 7zip v 0.54 |
Author |
Message |
StrangeRRor

|
Posted: Sat Jan 20, 2007 01:17 Post subject: |
|
|
Выдержка из справки:
SFX modules for installers
You can use the following command to create installer self-extract archive:
copy /b 7zS.sfx + config.txt + archive.7z archive.exe
-y switch for installer module specifies quiet mode for extracting.
Installer Config file format
Config file contains commands for Installer. File begins from string ;!@Install@!UTF-8! and ends with ;!@InstallEnd@!. File must be written in UTF-8 encoding. File contains string pairs:
ID_String="Value"
ID_String : Description
Title : Title for messages
BeginPrompt : Begin Prompt message
Progress : Value can be "yes" or "no". Default value is "yes".
RunProgram : Command for executing. Default value is "setup.exe". Substring %%T will be replaced with path to temporary folder, where files were extracted
Directory : Directory prefix for "RunProgram". Default value is ".\\"
ExecuteFile : Name of file for executing
ExecuteParameters : Parameters for "ExecuteFile"
Config file Examples
;!@Install@!UTF-8!
Title="7-Zip 4.00"
BeginPrompt="Do you want to install the 7-Zip 4.00?"
RunProgram="setup.exe"
;!@InstallEnd@!
;!@Install@!UTF-8!
Title="7-Zip 4.00"
BeginPrompt="Do you want to install the 7-Zip 4.00?"
ExecuteFile="7zip.msi"
;!@InstallEnd@!
;!@Install@!UTF-8!
Title="7-Zip 4.01 Update"
BeginPrompt="Do you want to install the 7-Zip 4.01 Update?"
ExecuteFile="msiexec.exe"
ExecuteParameters="/i 7zip.msi REINSTALL=ALL REINSTALLMODE=vomus"
;!@InstallEnd@! |
|
|
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|