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

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

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


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

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


Thanks for the info! I found a few posts with code about shortcuts in this thread. But I need the INF file to create a Registry entry as well. Also, from what I've seen I am not sure if the modified module would create the shortcuts in Start Menu\Programs for ALL languages (in Dutch: "Menu Start\Programma's"). The INF file can.

I actually modified my INF file, it can do everything the install requires now very fast, doesn't need the CMD batchfile. So I tried some more tests to let the modified 7zS.sfx module run the INF file, no luck, but I think it must be possible because I found a post with this complex command:
Код: Выделить весь код
RunProgram="StartX.exe /WAIT \"msiexec /i Adobe7.msi /qn\""
ofcourse in this example it is nonsense, since StartX and msiexec don't need to be called with the modified module. But it seems it can handle these complex commands so it must be able to handle this as well:

Код: Выделить весь код
;!@Install@!UTF-8!
ExtractTitle="Easy Installer for DVD copying!"
BeginPrompt="Start the DVD-ReBuilder Easy Installer?"
GUIMode="2"
InstallPath="%PROGRAMFILES%"
RunProgram="rundll32.exe advpack.dll,LaunchINFSection %programfiles%\DVD-ReBuilder\SETUP.INF,DefaultInstall"
;!@InstallEnd@!
But it doesn't.

I am going to test the official 4.42 7zS.sfx version now.

EDIT
Check this out, the official 7zS.sfx + this config.txt:
Код: Выделить весь код
;!@Install@!UTF-8!
Title="Easy Installer for DVD copying!"
BeginPrompt="Start the DVD-ReBuilder Easy Installer?"
ExecuteFile="C:\Windows\system32\rundll32.exe"
ExecuteParameters="advpack.dll,LaunchINFSection C:\Progra~1\SETUP.INF,DefaultInstall"
;!@InstallEnd@!
This runs the INF file (located in C:\Program Files, Progra~1 is the DOS 8:3 name) just fine!
BUT: if I replace "C:\Windows" for "%systemroot%" and "C:\Progra~1" for "%programfiles%", it fails.
Also I can't use the official since I can't give a path to extract... I hope Oleg_Sch will update his modified module soon
Oh but I read on http://unattended.solta.ru the latest versions are dated on 11 July 2005.. does this mean the modified module isn't being developed?

EDIT, thanks Oleg_Sch for all the help, everything works fine

Последний раз редактировалось zilexa, 15-06-2006 в 03:12.


Отправлено: 22:44, 12-06-2006 | #212