Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Новый участник


Сообщения: 6
Благодарности: 0

Профиль | Отправить PM | Цитировать


Hi, I hope the author of the modified 7zS.sfx knows English or someone else.

The modded 7zS.sfx is absolutely great! the reason I still used Winrar was because 7zip didn't had decent (good) SFX options. This modded version is truly a breaktrough.
Why o Why don't you contact the 7-zip creators? They should absolutely use your 7zS.sfx!

I have a question, I want my SFX to extract 3 folders to %programfiles% and then start an .INF file that is located in folder1.

This is the command to start the inf file:
Код: Выделить весь код
rundll32.exe advpack.dll,LaunchINFSection %programfiles%\DVD-ReBuilder\SHORTCUTS.INF,DefaultInstall
This command WORKS, when I start it from Windows command prompt!

Now this is the Config.txt I use:
Код: Выделить весь код
;!@Install@!UTF-8!
RunProgram="rundll32.exe advpack.dll,LaunchINFSection %programfiles%\DVD-ReBuilder\SHORTCUTS.INF,DefaultInstall"
InstallPath="%PROGRAMFILES%"
ExtractTitle="Easy Installer: Extracting..."
GUIMode="2"
;!@InstallEnd@!
After extraction it gives an error:
System cannot find given file.

Can you help me? Why does it not work?





I also have a suggestion: the newest official 7zS.sfx supports some new things:
Цитата:
-y switch for installer module (at runtime) 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"


You can omit any values.

There are two ways to run program: RunProgram and ExecuteFile.
Use RunProgram, if you want to run some program from .7z archive.
Use ExecuteFile, if you want to open some document from .7z archive or
if you want to execute some command from Windows.

If you use RunProgram and if you specify empty directory prefix: Directory="",
the system searches for the executable file in the following sequence:

1. The directory from which the application (installer) loaded.
2. The temporary folder, where files were extracted.
3. The Windows system directory.
Perhaps you could base any new compile on this official one, or the official authors replace their 7zs with yours

Отправлено: 18:07, 06-06-2006 | #208