Serg-13
09-11-2005, 12:53
Второй день мучаюсь. Не импортируется в реестр первый запуск через [GuiRunOnce].
Текст winnt.sif
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=No
FileSystem=*
UnattendSwitch=No
[GuiUnattended]
AdminPassword=f4792
EncryptedAdminPassword=Yes
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=180
OemSkipWelcome=1
[UserData]
ProductKey=00000
FullName="User"
OrgName="P"
ComputerName=*
[Display]
BitsPerPel=16
Xresolution=800
YResolution=600
[TapiLocation]
CountryCode=7
Dialing=Pulse
AreaCode=7
[RegionalSettings]
LanguageGroup=5
SystemLocale=00000419
UserLocale=00000419
InputLocale=0409:00000409,0419:00000419
[GuiRunOnce]
Command0=%systemdrive%\install\hklm.cmd
[Identification]
JoinWorkgroup=SOI
[Networking]
InstallDefaultComponents=Yes
текст hklm.cmd
ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\hklm.reg
Копирование через $OEM$ проходит, только не могу запустить командный файл.
Может еще где что-то прописать надо. Искал в форусе но ничего не нашел.
И еще в ref.chm сказано что команду надо писать типа %systemdrive%\install\hklm.cmd, а setupmgr.exe создает так Command0=%systemdrive%\install\hklm.cmd. Кто прав??
Текст winnt.sif
;SetupMgrTag
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=No
FileSystem=*
UnattendSwitch=No
[GuiUnattended]
AdminPassword=f4792
EncryptedAdminPassword=Yes
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=180
OemSkipWelcome=1
[UserData]
ProductKey=00000
FullName="User"
OrgName="P"
ComputerName=*
[Display]
BitsPerPel=16
Xresolution=800
YResolution=600
[TapiLocation]
CountryCode=7
Dialing=Pulse
AreaCode=7
[RegionalSettings]
LanguageGroup=5
SystemLocale=00000419
UserLocale=00000419
InputLocale=0409:00000409,0419:00000419
[GuiRunOnce]
Command0=%systemdrive%\install\hklm.cmd
[Identification]
JoinWorkgroup=SOI
[Networking]
InstallDefaultComponents=Yes
текст hklm.cmd
ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %systemdrive%\install\hklm.reg
Копирование через $OEM$ проходит, только не могу запустить командный файл.
Может еще где что-то прописать надо. Искал в форусе но ничего не нашел.
И еще в ref.chm сказано что команду надо писать типа %systemdrive%\install\hklm.cmd, а setupmgr.exe создает так Command0=%systemdrive%\install\hklm.cmd. Кто прав??