el_rob3 Posted December 7, 2004 Share Posted December 7, 2004 hi guyshere i want to make some changes in Win98 CD in order to change the logo.sys ,logow.sys , logos,sys , put some files in startup directory & put some values in the registry. So when i install the new win98 CD i can get all that changes.is it possible thnx Link to comment Share on other sites More sharing options...
cyberthug Posted December 7, 2004 Share Posted December 7, 2004 i'm using a batch command to do this, AFTER installatiton.just by copying logo.sys and win\logow.sys and win\logos.sys over with my modified ones.but if there's a way to do it unattendedly! i would LOVE to know! Link to comment Share on other sites More sharing options...
prathapml Posted December 7, 2004 Share Posted December 7, 2004 Yes, unattended app-installs and commands is quite possible in win98 as well.Its so do-able, that you can pick/choose your method.You can modify the MSBATCH.INF to add entries to registry for running commands, for copying files, and such... And you can put your .BAT in the startup folder to make it run, or you can apply a .REG from MSBATCH.INF - its all do-able.If you'd like to see a sample of how I do it, just post saying so, and I'll describe the whole process tonight. Link to comment Share on other sites More sharing options...
cyberthug Posted December 9, 2004 Share Posted December 9, 2004 @prathapmlcould you please post it.. the batch file i have i have to run it manually..i didn't know u can add your own .reg and .bat's to the msbatch.inf.pls post it and describe as u said u would. is there some other source that i can read that'll help me out too?thanx. Link to comment Share on other sites More sharing options...
prathapml Posted December 9, 2004 Share Posted December 9, 2004 MSBATCH.INF; MSBATCH.INF;; Copyright (c) 1995-2000 Microsoft Corporation.; All rights reserved.;[BatchSetup]Version=3.0 (32-bit)SaveDate=01-01-04[Version]Signature = "$CHICAGO$"AdvancedINF=2.5LayoutFile=layout.inf[Setup]Express=1InstallDir="c:\windows"InstallType=3ProductKey="YOUR PRODUCT KEY"EBD=0ShowEula=0ChangeDir=0OptionalComponents=1Network=1System=0CCP=0CleanBoot=0Display=0DevicePath=0NoDirWarn=1TimeZone="India"Uninstall=5NoPrompt2Boot=1[System]Locale=L0409SelectedKeyboard=KEYBOARD_00000409[NameAndOrg]Name="0wner"Org="0wn Inc."Display=0[Network]ComputerName="Computer"Workgroup="LAN"Description="Microsoft Oldie"Display=0PrimaryLogon=VREDIRClients=VREDIRProtocols=MSTCPSecurity=SHARE[MSTCP]LMHOSTS=0DHCP=1DNS=0WINS=D[OptionalComponents]"Accessibility Options"=1"Accessibility Tools"=1"Briefcase"=0"Calculator"=1"Desktop Wallpaper"=1"Document Templates"=1"Classic Games"=1"Plus! Games"=1"Internet Games"=0"Imaging"=1"Mouse Pointers"=0"Imaging"=0"Paint"=1"WordPad"=1"Dial-Up Networking"=1"Dial-Up Server"=0"Direct Cable Connection"=1"HyperTerminal"=1"Microsoft NetMeeting"=0"Phone Dialer"=1"Virtual Private Networking"=0"Web Publishing Wizard"=1"Microsoft Outlook Express"=0"Outlook Express"=0"Address Book"=0"MSN Messenger Service"=0"NetMeeting"=0"Audio Compression"=1"CD Player"=1"Macromedia Shockwave Director"=1"Macromedia Shockwave Flash"=1"Media Player"=1"Multimedia Sound Schemes"=0"Sample Sounds"=0"Sound Recorder"=1"Video Compression"=1"Volume Control"=1"America Online"=0"AT&T WorldNet Service"=0"CompuServe"=0"EarthLink"=0"Prodigy Internet"=0"The Microsoft Network"=0"Desktop Themes Support"=1"Space"=1"Windows Millennium"=1"Additional Screen Savers"=1"Flying Windows"=1"OpenGL Screen Savers"=1"Backup"=1"Character Map"=1"Clipboard Viewer"=1"Compressed Folders"=1"Disk compression tools"=1"Drive Converter (FAT32)"=1"Group policies"=1"Net Watcher"=1"System Monitor"=1"System Resource Meter"=1[Printers][InstallLocationsMRU]"C:\windows\drivers""C:\temp"[Install]AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,User.Profiles.Reg,User.Box.One,User.Box.Two,Registry.WinUpdate,RegistrySettingsCopyFiles=regfile.copy,customTweaks.UserBranding[regfile.copy]settings.reg[customTweaks.UserBranding]instTime.battweaks.batoemlogo.bmpoeminfo.initweaked.regregClean.exeregclean.txtMPSetup.exewrar.exe[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"[Run.Installed.Components]HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00HKLM,%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%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00HKLM,%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,00HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"[Installed.Components.General]AddReg=Browser.Settings, Shell.PrepBitReg=Shell.Settings[Installed.Components.Advanced]DelFiles=Connect.Icon, OLS.IconsCustomDestination=Custom.DestRunPostSetupCommands=DirCleanup[Custom.Dest]49070=DesktopLDIDSection,5[Connect.Icon]connec~1.lnk[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.lnkat&two~1.lnkcompus~1.lnkprodig~1.lnkthemic~1.lnkaboutt~1.lnkabouto~1.txtservices.txt[DirCleanup]rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%[Delete.Welcome]DelReg=Registry.Welcome[Registry.Welcome]HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,[Registry.WinUpdate]HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,1HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,1[Browser.Settings]HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"about:blank"HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"about:blank"HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://home.microsoft.com/search/search.asp"HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://home.microsoft.com/search/search.asp"HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"[Shell.Prep]HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00[Shell.Settings]HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1[Skip.PCMCIA.Wizard]HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1[User.Profiles.Reg]HKLM,"Network\Logon",UserProfiles,1,1[User.Box.One]HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",CentralFile,,"Desktop"HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",DefaultDir,,"%10%\Desktop"HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",LocalFile,,"Desktop"HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%PrimaryRec%\Desktop",RegValue,,"Desktop"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",CentralFile,,"NetHood"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",DefaultDir,,"%10%\NetHood"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",LocalFile,,"NetHood"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%PrimaryRec%\NetHood",RegValue,,"NetHood"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",CentralFile,,"Recent"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",DefaultDir,,"%10%\Recent"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",LocalFile,,"Recent"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%PrimaryRec%\Recent",RegValue,,"Recent"[User.Box.Two]HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",CentralFile,,"Start Menu"HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",DefaultDir,,"%10%\Start Menu"HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",LocalFile,,"Start Menu"HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%PrimaryRec%\Start Menu",RegValue,,"Start Menu"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",CentralFile,,"Programs"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",DefaultDir,,"%10%\Start Menu\Programs"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",LocalFile,,"Start Menu\Programs"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",ParentKey,,"Start Menu"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%SecondaryRec%\Programs",RegValue,,"Programs"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",CentralFile,,"Startup"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",Default,1,01,00,00,00HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",DefaultDir,,"%10%\Start Menu\Programs\Startup"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",LocalFile,,"Start Menu\Programs\Startup"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",MustBeRelative,1,01,00,00,00HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",Name,,"*.lnk,*.pif"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",ParentKey,,"Start Menu"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",RegKey,,"%CurrentVersion%\Explorer\User Shell Folders"HKCU,"%CurrentVersion%\%SecondaryRec%\Startup",RegValue,,"Startup"[RegistrySettings]HKLM,%KEY_RUNONCE%,BatchReg1,,"%25%\regedit.exe /s "%10%\settings.reg""[DestinationDirs]Connect.Icon=10,alluse~1\desktopOLS.Icons=49070,Online~1regfile.copy=10[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"CurrentVersion="Software\Microsoft\Windows\CurrentVersion"PrimaryRec="ProfileReconciliation"SecondaryRec="SecondaryProfileReconciliation"All files mentioned in "customTweaks.UserBranding" and "regfile.copy" need to be placed in the Win98 cabs folder. It will get copied to C:\Windows folder (delete it afterwards through batch-files).This is contents of instTime.bat@ECHO offCLSECHO.ECHO please standby until the tweaks scheduled for applying are performedECHO Do not close this window until a message says soECHO.ECHO Installing Windows Media Player 9C:\Windows\mpsetup.exe /Q:A /R:NECHO Wait for 3 minutes (to allow installation to complete)ECHO.ECHO Installing WinRAR 3.20 Licensed Corporate EditionC:\Windows\wrar.exe /sECHO finishedECHO.regedit /S C:\windows\tweaked.regECHO Starting Branding operationsif exist "c:\windows\system\oeminfo.ini" del "c:\windows\system\oeminfo.ini"move "c:\windows\oeminfo.ini" "c:\windows\system"move "c:\windows\oemlogo.bmp" "c:\windows\system"ECHO tweaks successful, Enjoy!ECHO.ECHO Deleting Temporary Installation Files...if exist "c:\windows\settings.reg" del "c:\windows\settings.reg"if exist "c:\windows\tweaked.reg" del "c:\windows\tweaked.reg"ECHO.ECHO IMPORTANT - You may close this window after 3 minutesEXITThis is Settings.regREGEDIT4; make windows think it has been registered[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]"RegDone"="1"; get rid of the bloat called Scheduled Tasks[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices]"SchedulingAgent"="-"; execute this script at first-login (during end of last phase of setup)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"configure"="C:\\Temp\\install\\main.bat""tweaking"="C:\\Windows\\instTime.bat";Tweaks.bat@ECHO offCLSECHO.ECHO Deleting Temporary Installation Files...if exist "c:\windows\mpsetup.exe" del "c:\windows\mpsetup.exe"if exist "c:\windows\wrar.exe" del "c:\windows\wrar.exe"ECHO.if exist "c:\windows\instTime.bat" del "c:\windows\instTime.bat"if exist "c:\windows\tweaks.bat" del "c:\windows\tweaks.bat"ECHO You may now close this windowEXITtweaked.regREGEDIT4; remove the below planned tweaks once completed[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"configure"=-"tweaking"=-With the above files, what I am doing is to make use of the RunOnce keys of registry to run custom setups with switches (and .bats or .regs). I hope the above is understandable. If you have any questions, just ask. Link to comment Share on other sites More sharing options...
cyberthug Posted December 11, 2004 Share Posted December 11, 2004 [user.Box.One] and two..i don't understand wot that does.. i'm guessing create two users? but i don't see the user name or anything there.. so that can't be right..one's about the desktop and two's about the start menu... wot does that do?and also.. is there anyway of replacing the original logo.sys, logos and logow in the windows installation files instead of me making a batch file to do it? Link to comment Share on other sites More sharing options...
prathapml Posted December 11, 2004 Share Posted December 11, 2004 What does it do?It just creates appropriate entries in the registry according to the settings you chose in Batch98. You can make your own, if you so desire.The above code is some stuff, posted to get one started. Using it, one can be able to automate the entire process for win98/ME to be as good as unattended win2k/XP. It is made for the purpose of:1. Enabling you to just boot from the CD and start setup and walk away.2. It will run through the entire setup silently3. Then apply the .REG silently4. Install specified programs silently.5. reboot and stop at the logon screen. Link to comment Share on other sites More sharing options...
cyberthug Posted December 11, 2004 Share Posted December 11, 2004 @prathapmlI see ur location as "India" and that is not on the selection list of the time zones.. options for india are delhi, madhras etc.. cities only. should i change mine to a country name? i'm sure BATCH98 put that in for me...i'm using "Nairobi".. i explain below...I'm getting stoped to be asked what time zone i'd like to set..i'm not sure why this is...i'm using:....CleanBoot=0Display=0DevicePath=0NoDirWarn=0TimeZone="Nairobi"Uninstall=0NoPrompt2Boot=1My BIOS and location at the moment is NOT "Nairobi" but USA. Is this why? shouldn't it jjust accept it even if it's not right?or anything else comes to mind thaht i could check on?I so glad 98 doesn't take soooo long! i'm trying to get ur instTime.bat running at startup.. probaby some syntax thingi.. workin on it. Link to comment Share on other sites More sharing options...
el_rob3 Posted December 16, 2004 Author Share Posted December 16, 2004 ok dear,if i want to add my drivers also , can i do that? Link to comment Share on other sites More sharing options...
sonson2003 Posted December 17, 2004 Share Posted December 17, 2004 how can placed files in "customTweaks.UserBranding" and "regfile.copy" to win98 cabs? Link to comment Share on other sites More sharing options...
el_rob3 Posted December 18, 2004 Author Share Posted December 18, 2004 thnx prathapml but i have some questions,, i want to make multiple-machine-name (diffrent IP & name & networkname)the msbatch98 was made 14 files for me (the No. of my clients) and i want to know how it may work? how to change logo.sys & logow.sys & logos.sys with with this batch? can i setup many programs with your "instTime.bat" (such as realOnePlayer , MSN , Yahoo ,......)thnx for your help Link to comment Share on other sites More sharing options...
el_rob3 Posted January 22, 2005 Author Share Posted January 22, 2005 prathapml plz help Link to comment Share on other sites More sharing options...
el_rob3 Posted January 24, 2005 Author Share Posted January 24, 2005 ????can anyone answer me?!!!!! Link to comment Share on other sites More sharing options...
MiR Posted April 26, 2005 Share Posted April 26, 2005 @cyberthugWindows 98 drivers are easy to slipstream as the windows install cd comes with a program called Infinst.exe which does just that, simply extract your drivers from the compressed exe files (if they are compressed) then tell the program where they are one driver at a time. The program will copy all the driver files which are relevant to the Windows install folder on the hard drive and update the relevant ini files etc.@everybodyWhat I want is a program to replace original files inside the cabinet files, winrar and winzip can read the files but not write them for some reason. anyone any Ideas on how this can be done? Link to comment Share on other sites More sharing options...
eidenk Posted April 27, 2005 Share Posted April 27, 2005 i'm sure BATCH98 put that in for me...i'm using "Nairobi".. i explain below...In case this is a bug, it'll never be fixed. So here is a workaround that probably works :Set the Time Zone on your machine. Right click on the taskbar and choose Adjust Date/Time as you probably know. If you want a finer TimeZone setup you'll need to use the Time Zone Editor that is on your your 98SE CD at \tools\reskit\config\tzedit.exe. Once this is done, export the values from the registry by runing the following batch file :@echo offregedit /e TimeZone.reg "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation"Copy and paste in Notepad and save as whatever.bat. Run it.For your setup keep default US timezone and add Timezone.reg to your Batch Setup through the Advanced Options tab.What I want is a program to replace original files inside the cabinet files, winrar and winzip can read the files but not write them for some reason. anyone any Ideas on how this can be done? You can't do this with MS cab archives I think. But what you can probably do is extract the cab, replace the file and recompress a new cab of the same name to replace the old one.I do not know if the new cab will be suitable for a Windows setup but I can say that I have recompressed my Win ME cabs this way with IzArc to be able to use the Win98 System File Checker on Win ME. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now