查看完整版本: [-- 关于WINNT.SIF问题 --]

秋无痕论坛 -> 『硬件使用交流区』 -> 关于WINNT.SIF问题 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

lixiaolyy 2008-07-10 16:08

最近从网上下了一个MSDN的光盘,想把他做成自动安装的 顺便集成了秋老大的软件安装器.(太实用了 呵呵)
于是自己写了一个应答文件 WINNT.SIF 但是每次都不能在安装完成第一次启动后调用软件安装器 就是[GuiRunOnce]
    command1="REGEDIT /S %systemdrive%\WinApps\reg\soft.reg"  不能执行
百度找的说是要在[GuiUnattended]加上AutoLogon=Yes 但是 加上去了还是不能执行.是不是还要修改除 WINNT.SIF 的其他什么文件才能执行
代码如下,希望秋老大和各位前辈帮忙解决谢谢!
[Data]
    AutoPartition="0"
    UnattendedInstall="Yes"
    AutomaticUpdates=yes
    MsDosInitiated=No

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    TargetPath=\WINDOWS
    FileSystem=*
    Repartition=No
    WaitForReboot=No
    UnattendSwitch=yes
    OemPreinstall=Yes
    DriverSigningPolicy=Ignore
    NonDriverSigningPolicy=Ignore

[GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=210
    OemSkipWelcome=1
    AutoLogon=Yes

[UserData]
    ProductKey="xxxxxxxxxxxxxxxxxxx"
    ComputerName=xxx
    FullName="xxxxx"
    OrgName="xxxxxxxx"

[Display]
    Xresolution=1024
    YResolution=768
   
[Components]
    msmsgs=off
    msnexplr=Off
    zonegames=off
   
[TapiLocation]
    CountryCode=86
    Dialing=Tone

[RegionalSettings]
    LanguageGroup=9,10
    Language=00000804
   
[Proxy]
    Proxy_Enable=0
    Use_Same_Proxy=1
   
[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=yes

[GuiRunOnce]
    command1="REGEDIT /S %systemdrive%\WinApps\reg\soft.reg"


查看完整版本: [-- 关于WINNT.SIF问题 --] [-- top --]



Powered by PHPWind v7.3.2 Code © 2003-08 PHPWind
Time 0.051949 second(s),query:2 Gzip enabled

You can contact us