Sunil Posted June 28, 2003 Posted June 28, 2003 Thanks ArronXp that was a very interesting piece of literature, it enlightened me on various things i did not know.Sunil
Geckotek Posted June 29, 2003 Posted June 29, 2003 Has anybody installed the ATI CAT 3.5 dirvers during an install? I'm specifically wondering about installing the full driver and control panel.It seems that when I point the system to the driver files, it doesn't load everything.....like the SmartGart tab. Could some1 give me specific steps they took that worked well? Thank you
Bretenn Posted June 29, 2003 Posted June 29, 2003 btw... aaronxp can u post ur unattend.txt so that i make sure i did not do anything wrong...
Aaron Posted June 29, 2003 Author Posted June 29, 2003 I haven't tried the silent install of ATI Catalyst drivers, that's next on my list Here's the full winnt.sif (was originally unattend.txt but renamed because this is being done from the CD rather than a network share);SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=No UnattendSwitch="no" WaitForReboot="No"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=No OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="Aaron" OrgName="Home" ComputerName=ZEUS[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85[TapiLocation] CountryCode=44 Dialing=Tone AreaCode=01523[RegionalSettings] LanguageGroup=1 Language=00000809[Identification] JoinWorkgroup=PHOENIX[Networking] InstallDefaultComponents=Yes[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=http://www.google.com[Components] msmsgs=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off msnexplr=off[Shell] DefaultStartPanelOff = Yes DefaultThemesOff = Yes[GuiRunOnce] %systemdrive%\install\hotfixes.cmd %systemdrive%\install\main_batch.cmd %systemdrive%\install\applications.cmd %systemdrive%\install\restart.cmd
Bretenn Posted June 29, 2003 Posted June 29, 2003 and btw where can i get all those hotfixes... that i can download altogether...and what those main_batch application, and restart do?
Bretenn Posted June 29, 2003 Posted June 29, 2003 and then if you want to go advanced and install applications, and reg hacks etc. go to Unattended.netfirms.comlink to counter-strike??
Aaron Posted June 29, 2003 Author Posted June 29, 2003 Yeah, the site's been replaced with a counterstrike sprites site, I've got into contact with him and asked for permission to publish his work on MSFN. He said to go ahead, so expect a sub site on MSFN soon with the guide, along with some updates and improvements soon! Here's the code, I can't be sure that 100% of it is error-free, I accidently deleted the batch files, and had to restore them from an earlier CD I made.(The hotfixes batch is on page 4 of this thread) To find out what hotfixes you need, you should download the freeware hfnetchk tool from Microsoft (or shavlik.com) and run it on your system so it can determine what hotfixes you need. It'll tell you all the MS Technet article numbers (MS03-013) and you can download the patches from Microsoft Technet's pages.Main Batch:CLS@echo offECHO.ECHO Copying Tools...COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"ECHO.ECHO Removing Wallpapers...DEL "%systemroot%\Blue Lace 16.bmp"DEL "%systemroot%\Coffee Bean.bmp"DEL "%systemroot%\FeatherTexture.bmp"DEL "%systemroot%\Gone Fishing.bmp"DEL "%systemroot%\Greenstone.bmp"DEL "%systemroot%\Prairie Wind.bmp"DEL "%systemroot%\Rhododendron.bmp"DEL "%systemroot%\River Sumida.bmp"DEL "%systemroot%\Santa Fe Stucco.bmp"DEL "%systemroot%\Soap Bubbles.bmp"DEL "%systemroot%\Zapotec.bmp"DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"DEL "%systemroot%\Web\Wallpaper\Friend.jpg"DEL "%systemroot%\Web\Wallpaper\Home.jpg"DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"DEL "%systemroot%\Web\Wallpaper\Peace.jpg"DEL "%systemroot%\Web\Wallpaper\Power.jpg"DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"DEL "%systemroot%\Web\Wallpaper\Azul.jpg"DEL "%systemroot%\Web\Wallpaper\Follow.jpg"DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"DEL "%systemroot%\Web\Wallpaper\Wind.jpg"ECHO.ECHO Removing useless shortcuts...DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"ECHO.ECHO Removing Screensavers...DEL "%systemroot%\system32\dllcache\scrnsave.scr"DEL "%systemroot%\system32\dllcache\ss3dfo.scr"DEL "%systemroot%\system32\dllcache\ssbezier.scr"DEL "%systemroot%\system32\dllcache\ssflwbox.scr"DEL "%systemroot%\system32\dllcache\ssmarque.scr"DEL "%systemroot%\system32\dllcache\ssmypics.scr"DEL "%systemroot%\system32\dllcache\ssmyst.scr"DEL "%systemroot%\system32\dllcache\sspipes.scr"DEL "%systemroot%\system32\dllcache\ssstars.scr"DEL "%systemroot%\system32\dllcache\sstext3d.scr"DEL "%systemroot%\system32\scrnsave.scr"DEL "%systemroot%\system32\ss3dfo.scr"DEL "%systemroot%\system32\ssbezier.scr"DEL "%systemroot%\system32\ssflwbox.scr"DEL "%systemroot%\system32\ssmarque.scr"DEL "%systemroot%\system32\ssmypics.scr"DEL "%systemroot%\system32\ssmyst.scr"DEL "%systemroot%\system32\sspipes.scr"DEL "%systemroot%\system32\ssstars.scr"DEL "%systemroot%\system32\sstext3d.scr"ECHO.ECHO Copying Windows XP 3D Screensaver...COPY "%systemdrive%\Install\PowertoysD Windows XP.scr" "%systemroot%\system32"ECHO.ECHO Copying patched UXTheme.dll...REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\"REN %systemroot%\System32\uxtheme.dll uxtheme.oldCOPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\"ECHO.ECHO Installing MSN Messenger 3.6ECHO Please wait...start /wait %systemdrive%\install\MSN\msn36.exe /Q:A /R:NECHO.ECHO Installing DirectX 9.0aECHO Please wait...start /wait %systemdrive%\install\DirectX9a\dxsetup.exe /opkECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:NECHO.ECHO Installing Movie Maker 2.0ECHO Please wait...start /wait %systemdrive%\install\MovieMaker\mm20.msi /qnECHO.ECHO Installing TweakUI PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TweakUiPowertoySetup.exe /s /v/qnECHO.ECHO Installing Task Switcher PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qnECHO.ECHO Applying Registry Hacks...REGEDIT /S %systemdrive%\install\RegHacks\RegHacks.regECHO.ECHO Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /QBECHO.ECHO Installing Microsoft JavaVM - Build 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:NECHO.EXITApplications:CLS@echo offECHO.ECHO Deleting useless ASP.NET User Account created by .NET Framework 1.1...start /wait DELUSER /Q aspnetECHO.ECHO Installing Metapad 3.5...REN %systemdrive%\WINDOWS\System32\dllcache\notepad.exe notepad.oldCOPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\System32\dllcache\"REN %systemdrive%\WINDOWS\System32\notepad.exe notepad.oldCOPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\System32\"REN %systemdrive%\WINDOWS\notepad.exe notepad.oldCOPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\"ECHO.ECHO Applying Metapad 3.5 Filters...REGEDIT /S %systemdrive%\install\Applications\metapad\filters.regECHO.ECHO Installing Media Player Classic 6.4.4.8...MD "%systemdrive%\Program Files\Media Player Classic"COPY "%systemdrive%\install\Applications\Media Player Classic\mplayerc.exe" "%systemdrive%\Program Files\Media Player Classic\"COPY "%systemdrive%\install\Applications\Media Player Classic\Media Player Classic.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\"ECHO.ECHO Installing CiDial...MD "%systemdrive%\Program Files\CiDial"COPY "%systemdrive%\install\Applications\CiDial\CiDial.exe" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\CiDial.hlp" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\cidial.xml" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\file_id.diz" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\License.txt" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\ReadMe.txt" "%systemdrive%\Program Files\CiDial\"COPY "%systemdrive%\install\Applications\CiDial\CiDial.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\startup\"ECHO.ECHO Installing Diskeeper 7.0.428ECHO Please wait...start /wait %systemdrive%\install\Applications\diskeeper\Setup.exe /s /v/qnECHO.ECHO Installing Flashget 1.4ECHO Please wait...start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /SECHO.ECHO Registering Flashget 1.4...REGEDIT /S %systemdrive%\install\Applications\flashget\register.regECHO.ECHO Installing Kerio Personal Firewall 2.1.4ECHO Please wait...start /wait %systemdrive%\install\Applications\kpf\Setup.exe -s -f1"%systemdrive%\install\Applications\kpf\setup.iss"ECHO.ECHO Installing Nero Burning ROM v5.5.10.28ECHO Please wait...start /wait %systemdrive%\install\Nero\nero551028.exe /silent /norebootECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %systemdrive%\install\Nero\nero551028\register.regECHO.ECHO Installing Symantec Antivirus Corporate 8.01ECHO Please wait...start /wait %systemdrive%\install\Applications\sav\sav801b425.exe /qnECHO.ECHO Updating Symantec Antivirus Virus Definitions (May 8th 2003)...COPY "%systemdrive%\install\Applications\sav\vd155003.xdb" "%systemdrive%\Documents and Settings\All Users\Application Data\Symantec\Norton AntiVirus Corporate Edition.5\"ECHO.EXITRestart:CLS@echo offECHO.ECHO Restarting the PC in 2 minutes...psshutdown.exe -r -t 120 -f -m "Windows XP will now restart in 2 minutes, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installECHO.EXIT
Bretenn Posted June 29, 2003 Posted June 29, 2003 cant wait for that....coz i'm a bit blur on how to put all those filebtw is there any problem with the email notfication?
gamehead200 Posted June 29, 2003 Posted June 29, 2003 Aaron, how do you make a batch file like that delete everything in a folder, except for certain files that end with a certain extension?
Geckotek Posted June 29, 2003 Posted June 29, 2003 Aaron, THANK YOU SO MUCH! This gives me a lot more to work with. However, I'm afraid it has started a whole new line of questions. Here is the first:What's up w/ this .NET Framework? What reason would I have for installing it?Oh, and here's my little contribution. To use non WHQL drivers, add the following to the [unattended] section of the WINNT.SIF:DriverSigningPolicy=IgnoreTo install these drivers, place them in a driver folder inside the $1 folder, then add the following line to the [unattended] section:OemPnPDriversPath=Drivers\ATI\2KXP_INF;Drivers\nForce\3Com;Drivers\nForce\AudioDrv;Drivers\nForce\AudioUtl;Drivers\nForce\Ethernet;Drivers\nForce\GART;Drivers\nForce\MemCtl;Drivers\nForce\IDE;Drivers\nForce\SMBusNotice I listed the full path to each of my drivers relative to the $1 folder and separated each w/ a semicolon. This will have your system boot up w/ all the latest drivers already installed. DO NOT use a return like I did here. This was just for the sake of keeping this thread at normal width.
Aaron Posted June 29, 2003 Author Posted June 29, 2003 Bretenn: Email notification? what? The code can be pasted into notepad and saved as main_batch.cmd and applications.cmd and so on.Gamehead200: sorry, I'm not that advanced in DOS commands, don't know how to delete all files except for a certain extension. Maybe typing del /? at the command prompt will give you more information on this.Geckotek: Some applications coded in Visual Studio 2003 require .Net Framework 1.1 to function. Its the same way when we had to install the VB6 runtimes to run certain applications back in the day. Thanks for your contribution btw, I'll take note of it.
Sunil Posted June 29, 2003 Posted June 29, 2003 Gamehead, you can delete certain files in a directory defining the delete command and the path of the directory you the specific files to be deleted from. You can't define the type of files to left in the directory after the deletion has finished, but you can specify all all the different types of files you want deleted, leaving the ones you don't want out e.g say under the c drive we have bitmaps, text files and gif files we can specify each type that we want deleted@echo offecho This will delete all bitmap adn gif files in the C:\Driveecho.del %systemdrive%\*.bmpdel %systemdrive%\*.gifendThe code defined above deletes all files in the c drive that are bitmaps and gifs leaving only text files. You can change the path to any thing you like eg folders that have special names etc. eg C:\Documents and Settings\All Users\Desktop..Sunil
Geckotek Posted June 30, 2003 Posted June 30, 2003 So Aaron, did you run hfnetchk on a base installation of XP SP1 to see exactly what hotfixes you needed?Personally, I went to the Windows Update catalog and downloaded all the hotfixes for XP SP1 that I felt were neccessary. The idea above sounds like the best, I may give it a try.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now