Jump to content

jia

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    China

Posts posted by jia

  1. :)

    yes you can create a msbatch.inf file and put it in the win98 setup folder.

    with the Batch98 you can create a perfect batch file and when the setup goes on ,

    the only thing you need to do is to click OK twice.

    here is the batch file i created. I delete some sentences because they were in chinese.

    Good luck.

    ; MSBATCH.INF

    ;

    ; Copyright © 1995-1998 Microsoft Corporation.

    ; All rights reserved.

    ;

    [batchSetup]

    Version=3.0 (32-bit)

    SaveDate=10-01-03

    [Version]

    Signature = "$CHICAGO$"

    AdvancedINF=2.5

    LayoutFile=layout.inf

    [setup]

    Express=1

    InstallDir="c:\windows"

    InstallType=3

    ProductKey="*****-*****-*****-*****-*****"

    EBD=0

    ShowEula=0

    ChangeDir=0

    OptionalComponents=1

    Network=1

    System=0

    CCP=0

    CleanBoot=0

    Display=0

    DevicePath=0

    NoDirWarn=0

    TimeZone="Dateline"

    Uninstall=0

    NoPrompt2Boot=1

    [system]

    Locale=L0804

    SelectedKeyboard=KEYBOARD_00000409

    [NameAndOrg]

    Name="jia"

    Org="personal"

    Display=0

    [Network]

    ComputerName="jia"

    Workgroup="personal"

    Description="the best"

    Display=0

    PrimaryLogon=Windows

    Protocols=NETBEUI, NWLINK, MSTCP

    Security=SHARE

    [NWLINK]

    Frame_Type=4

    [MSTCP]

    LMHOSTS=1

    LMHOSTPath="C:\WINDOWS\lmhosts"

    DHCP=0

    DNS=1

    WINS=N

    DNSServers=210.39.0.33, 210.39.0.34

    Domain=szu

    Hostname=jia

    Gateways=192.168.82.33

    IPAddress=192.168.82.119

    IPMask=255.255.255.0

    [OptionalComponents]

    "Windows 98"=0

    "Microsoft Wallet"=0

    "Personal Web Server"=0

    "Web-Based Enterprise Mgmt"=0

    "Microsoft Outlook Express"=0

    "Macromedia Shockwave Director"=1

    "Macromedia Shockwave Flash"=1

    [Printers]

    [installLocationsMRU]

    "D:\driver\rtl8139d\8139new\WIN98"

    "D:\driver\rtl8139\WIN98\OEMA\"

    "D:\driver\rtl8139\WIN98\OEMA"

    "D:\driver\voice\8738\"

    "D:\Win98se\"

    [install]

    AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate

    [RunOnce.BatchDelay]

    HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.MSN.Icon 4 %10%\msbatch.inf"

    HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"

    HKLM,%KEY_RUNONCE%,BatchRun3,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"

    [Run.Installed.Components]

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"

    HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"

    HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00

    HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"

    HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"

    HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"

    HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"

    HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00

    HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"

    HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"

    [installed.Components.General]

    AddReg=Browser.Settings, Proxy.Settings, Shell.Prep

    BitReg=Shell.Settings

    UpdateInis=DelOEQuick.Links

    [DelOEQuick.Links]

    setup.ini, progman.groups,, "groupQL=..\..\Applic~1\Micros~1\Intern~1\Quickl~1"

    setup.ini, groupQL,, """Launch Outlook Express""" ;deletes link

    [DelOEdesktop]

    setup.ini, progman.groups,, "groupOE=..\..\desktop"

    setup.ini, groupOE,, """Outlook Express""" ;deletes icon

    [installed.Components.Advanced]

    DelFiles=OLS.Icons, QuickLaunch.Icons

    CustomDestination=Custom.Dest

    RunPostSetupCommands=DirCleanup

    [Custom.Dest]

    49070=DesktopLDIDSection,5

    49050=QuickLinksLDIDSection,5

    [Delete.MSN.Icon]

    DelReg=MSN.Icon

    [MSN.Icon]

    HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,

    [DesktopLDIDSection]

    HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",Desktop,OLSFolder,"%25%\Desktop"

    [OLS.Icons]

    americ~1.lnk

    at&two~1.lnk

    compus~1.lnk

    prodig~1.lnk

    themic~1.lnk

    aboutt~1.lnk

    abouto~1.txt

    services.txt

    [DirCleanup]

    rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%

    [Delete.Welcome]

    DelReg=Registry.Welcome

    [Registry.Welcome]

    HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,

    [Delete.Regwiz]

    AddReg=Registry.Regwiz

    [Registry.Regwiz]

    HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00

    HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00

    [Registry.WinUpdate]

    HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0

    HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0

    [browser.Settings]

    HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.szu.edu.cn/"

    HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://www.microsoft.com/isapi/redir.dll?prd=windows98&clcid=0x0804&pver=4.10&ar=runonce"

    HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"

    HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"

    HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"

    [Proxy.Settings]

    HKCU,%KEY_INTERNETSETTINGS%,ProxyEnable,1,01,00,00,00

    HKCU,%KEY_INTERNETSETTINGS%,ProxyOverride,,"*.szu.edu.cn;192.168.*.*;210.39.*.*;<local>"

    HKCU,%KEY_INTERNETSETTINGS%,ProxyServer,,"proxy.szu.edu.cn:8080"

    [shell.Prep]

    HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00

    HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"

    [shell.Settings]

    HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1

    [QuickLinksLDIDSection]

    HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"

    [QuickLaunch.Icons]

    ²é¿´ÆµµÀ.scf

    [skip.PCMCIA.Wizard]

    HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1

    [DestinationDirs]

    OLS.Icons=49070,Online~1

    QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1

    [strings]

    KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

    KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"

    OnlineLong="Online Services"

    KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"

    KEY_INTERNETSETTINGS="Software\Microsoft\Windows\CurrentVersion\Internet Settings"

×
×
  • Create New...