GSoft
25-10-2005, 13:47
проблема - при добавлении папки $OEM$ в образ в графическом режиме на этапе регистрации компонентов установка останавливается и с концами.
Непосредственно перед этим отрабатывается скрипт
http://forum.oszone.net/attachment.php?attachmentid=1106&stc=1 (http://attachment.php/?attachmentid=1106&stc=1)
конфигурация:
система w2k sp4
winnt.sif
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINNT
Filesystem=*
Unattendswitch="Yes"
DriverSigningPolicy=Warn
[GuiUnattended]
AdminPassword=seventeen
AutoLogon=Yes
AutoLogonCount=10
AutoLogonAccountCreation=No
OEMSkipRegional=1
TimeZone=145
OemSkipWelcome=1
ProfilesDir=%systemdrive%\Profiles
[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=60
[UserData]
ProductID="my code"
FullName=User
OrgName="My company"
ComputerName=UserComp
[TapiLocation]
CountryCode=7
Dialing=Pulse
AreaCode=812
[RegionalSettings]
LanguageGroup=5
SystemLocale=00000419
UserLocale=00000419
InputLocale=0409:00000409,0419:00000419
[Identification]
JoinWorkgroup=SWEETHOME
[Networking]
InstallDefaultComponents=Yes
[Components]
msmsgs=off
msnexplr=off
freecell=off
hearts=off
minesweeper=off
pinball=off
solitaire=off
spider=off
zonegames=off
[Shell]
;CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme"
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes
[IEPopupBlocker]
AllowedSites=www.microsoft.com;
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes
[FavoritesEx]
Title1="My company"
URL1="http://MyCompany.ru"
[Branding]
BrandIEUsingUnattended=Yes
[URL]
;домашняя страница по умолчанию
Home_Page=www.yandex.ru
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1
cmdlines.txt
[Commands]
"RunOnceEx.cmd"
"RunOnceEx.cmd"
cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Installing console" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\i386\winnt32.exe /cons
REG ADD %KEY%\005 /VE /D "Remote admininstrator v 2.2" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\RadmAuto.exe
REG ADD %KEY%\010 /VE /D "Shift + Ctrl" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Tweak\00000419.reg
REG ADD %KEY%\015 /VE /D "Installing Applications cmd" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Install.cmd
pause
EXIT
Непосредственно перед этим отрабатывается скрипт
http://forum.oszone.net/attachment.php?attachmentid=1106&stc=1 (http://attachment.php/?attachmentid=1106&stc=1)
конфигурация:
система w2k sp4
winnt.sif
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINNT
Filesystem=*
Unattendswitch="Yes"
DriverSigningPolicy=Warn
[GuiUnattended]
AdminPassword=seventeen
AutoLogon=Yes
AutoLogonCount=10
AutoLogonAccountCreation=No
OEMSkipRegional=1
TimeZone=145
OemSkipWelcome=1
ProfilesDir=%systemdrive%\Profiles
[Display]
BitsPerPel=32
Xresolution=800
YResolution=600
Vrefresh=60
[UserData]
ProductID="my code"
FullName=User
OrgName="My company"
ComputerName=UserComp
[TapiLocation]
CountryCode=7
Dialing=Pulse
AreaCode=812
[RegionalSettings]
LanguageGroup=5
SystemLocale=00000419
UserLocale=00000419
InputLocale=0409:00000409,0419:00000419
[Identification]
JoinWorkgroup=SWEETHOME
[Networking]
InstallDefaultComponents=Yes
[Components]
msmsgs=off
msnexplr=off
freecell=off
hearts=off
minesweeper=off
pinball=off
solitaire=off
spider=off
zonegames=off
[Shell]
;CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme"
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes
[IEPopupBlocker]
AllowedSites=www.microsoft.com;
BlockPopups=Yes
FilterLevel=Medium
ShowInformationBar=Yes
[FavoritesEx]
Title1="My company"
URL1="http://MyCompany.ru"
[Branding]
BrandIEUsingUnattended=Yes
[URL]
;домашняя страница по умолчанию
Home_Page=www.yandex.ru
[Proxy]
Proxy_Enable=0
Use_Same_Proxy=1
cmdlines.txt
[Commands]
"RunOnceEx.cmd"
"RunOnceEx.cmd"
cmdow @ /HID
@echo off
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Installing console" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\i386\winnt32.exe /cons
REG ADD %KEY%\005 /VE /D "Remote admininstrator v 2.2" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\RadmAuto.exe
REG ADD %KEY%\010 /VE /D "Shift + Ctrl" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Tweak\00000419.reg
REG ADD %KEY%\015 /VE /D "Installing Applications cmd" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Install.cmd
pause
EXIT