4sag
06-01-2007, 11:27
Не происходит установка по маркерным файлам
cmdlines.txt
[COMMANDS]
"choice.bat"
choice.bat
cmdow @ /HID
@echo off
if exist %systemdrive%\Temp\dummy1.fle goto START1
if exist %systemdrive%\Temp\dummy2.fle goto START2
if exist %systemdrive%\Temp\dummy3.fle goto START3
if exist %systemdrive%\Temp\dummy4.fle goto START4
....
goto END
:START1
REGEDIT /S MUI.reg
REGEDIT /S CMD.reg
..\I386\IE7\update\iesetup.exe /quiet /update-no /norestart
RD /S /Q %systemdrive%\D
RD /S /Q %systemdrive%\Windows\I386
goto END
:START2
REGEDIT /S MUI.reg
goto END
:START3
REGEDIT /S MUI.reg
REGEDIT /S CMD.reg
..\MUI\Muisetup.exe /i 0419 /d 0419 /l /f /r /s
goto END
:START4
REGEDIT /S MUI.reg
goto END
...
:END
winnt.sif
DetachedProgram = "%SystemDrive%\Temp\dummy3.exe"
OemPreinstall=Yes
OemSkipWelcome=1
все где надо
cmdow присутствует в $OEM$\$$\System32
dummy3.exe присутствует в $OEM$\$1\temp
cmdlines.txt
[COMMANDS]
"choice.bat"
choice.bat
cmdow @ /HID
@echo off
if exist %systemdrive%\Temp\dummy1.fle goto START1
if exist %systemdrive%\Temp\dummy2.fle goto START2
if exist %systemdrive%\Temp\dummy3.fle goto START3
if exist %systemdrive%\Temp\dummy4.fle goto START4
....
goto END
:START1
REGEDIT /S MUI.reg
REGEDIT /S CMD.reg
..\I386\IE7\update\iesetup.exe /quiet /update-no /norestart
RD /S /Q %systemdrive%\D
RD /S /Q %systemdrive%\Windows\I386
goto END
:START2
REGEDIT /S MUI.reg
goto END
:START3
REGEDIT /S MUI.reg
REGEDIT /S CMD.reg
..\MUI\Muisetup.exe /i 0419 /d 0419 /l /f /r /s
goto END
:START4
REGEDIT /S MUI.reg
goto END
...
:END
winnt.sif
DetachedProgram = "%SystemDrive%\Temp\dummy3.exe"
OemPreinstall=Yes
OemSkipWelcome=1
все где надо
cmdow присутствует в $OEM$\$$\System32
dummy3.exe присутствует в $OEM$\$1\temp