Skipster Posted September 6, 2003 Share Posted September 6, 2003 Just wanted to start off by saying awesome work so far. I have long wanted to do this, but just simply don't have the knowledge to do it. Problem I am having is that when running the unattended install with the extras, the install runs perfect, but no user account is installed and all the tweaks are done for the admin account. THanks to webmedic and another member here, I am pretty sure I have the user account problem solved, but the BIGGEST problem is that the install does not install IE, OE, any networking at all, defrag and most of the accessories are no show, and I don't have any switches set that would keep them from being omitted. Is this all just because I did not have a user account setup when all the programs, drivers and tweaks were being installed. I have 3 pretty useless CD's already, so I figured I would ask the pro's before burning a 4th frisbee...heh. If you need any info like my winnt.sif or .bat files let me know...be glad to post them. I really want this to work.Thanks in advance. Link to comment Share on other sites More sharing options...
valkyre Posted September 6, 2003 Share Posted September 6, 2003 Strange...Did you try adding the user account BEFORE trying to add the other stuff?My main_batch.cmd file's first few lines are this:ECHO Adding User "Valkyre"net user Valkyre /addnet localgroup "administrators" Valkyre /addECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\regtweaks.regECHO.Check your code, make sure your adding your user account before anything else.(Anyone feel free to correct me if I'm wrong) Link to comment Share on other sites More sharing options...
Skipster Posted September 6, 2003 Author Share Posted September 6, 2003 No, I had not done that before and everything was being installed under administrator. I added the files to add a user that were posted in another thread so that a user account will be installed before all the other stuff takes place, and I hope that takes care of it. The files and code shown in the other thread about creating a user accout are all I needed to do correct? That code will run before any of the post install tweaks and extras are installed correct? Link to comment Share on other sites More sharing options...
valkyre Posted September 6, 2003 Share Posted September 6, 2003 Correct. Link to comment Share on other sites More sharing options...
neophyte Posted September 6, 2003 Share Posted September 6, 2003 Handy hint, use a CDRW for testing these CD's before you commit to a CDR. Link to comment Share on other sites More sharing options...
valkyre Posted September 6, 2003 Share Posted September 6, 2003 Also, I found it handy to have 2 hard drives installed, and just continually testing the automated install on the secondary hard drive, then switch back to the primary hard drive and continue developing. Link to comment Share on other sites More sharing options...
spookytay Posted September 6, 2003 Share Posted September 6, 2003 I know a lot of people copy code posted here, so double check again and make sure you didn't add certain lines to your winnt.sif file under [Components] or you may have copied a registry tweak, so check those too. Link to comment Share on other sites More sharing options...
Skipster Posted September 7, 2003 Author Share Posted September 7, 2003 Nope, nothing under [Components] or even an entry for [Components]. Maybe that is the problem. I tried again to no avail. Still same crap. User account is now installed like it should be, but no IE, OE, defrag, calculator, hell half the whole accesories menu is gone and it still doesn't install any networking, although it connects to the internet just fine. I go in to try to change the workgroup name and it says I can't until networking is installed....lol;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=YES TargetPath=\WINDOWS Repartition=No UnattendSwitch="no" WaitForReboot=No DriverSigningPolicy=Ignore OemPnPDriversPath="\Drivers\Catalyst3_6\2KXP_INF" ForceHALDetection=No DUDisable=Yes[GuiUnattended] AdminPassword="*" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[userData] ProductKey="produ-ctkey-notsh-ownto-br549 FullName="Skipster" OrgName="Home" ComputerName=Skipster-Nforce2[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=100[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=270[RegionalSettings] LanguageGroup=1[identification] JoinWorkgroup=HOMENET[Networking] InstallDefaultComponents=Yes[branding] BrandIEUsingUnattended=YesAUtoConfig=0 Home_Page=http://www.driverheaven.net[GuiRunOnce] Command0=%systemdrive%\install\main_batch.cmd Command1=%systemdrive%\install\applications.cmd[NetAdapters] Adapter1=params.Adapter1[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER MS_PSched=params.MS_PSched[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0Thats it for winnt.sif. I copied the code for adding a user before setup in the other most excellent thread (Thank you very much, it does work!) Do I really need that [branding] entry and if so do I have to copy the unattend.txt file somewhere? Link to comment Share on other sites More sharing options...
Skipster Posted September 7, 2003 Author Share Posted September 7, 2003 Also, I found it handy to have 2 hard drives installed, and just continually testing the automated install on the secondary hard drive, then switch back to the primary hard drive and continue developing.GREAT IDEA! I have an old 2GB spare drive laying in a drawer. Much better than using my daughters machine as a guinea pig...lol. Thx. Link to comment Share on other sites More sharing options...
Skipster Posted September 7, 2003 Author Share Posted September 7, 2003 I finally got it!! I am currently running my unattended install inside VM Ware and glad to say that everything is there. All the accessories, IE, OE and the install went pretty much unattended. The Welcome to Windows XP screen did come up and go through the register now, create user, la la la, but if thats all I have to do, that was extremely easy and all my apps and drivers are being installed properly. Just wanted to say thanks to all the people here that made this possible, your the bomb Winnt.sif:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS DriverSigningPolicy=Ignore WaitForReboot=No UnattendSwitch="no" OemPnPDriversPath="\Drivers\Catalyst3_6\2KXP_INF";"\Drivers\Nforce2" RePartition=No[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[userData] ProductKey='removed' FullName="Skipster" OrgName="Home" ComputerName=Skipster-Nforce2[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85[TapiLocation] CountryCode=1 Dialing=Tone AreaCode=270[branding] BrandIEUsingUnattended=Yes Home_Page=http://www.driverheaven.net[Proxy] Proxy_Enable=0 Use_Same_Proxy=1[identification] JoinWorkgroup=HOMENET[Networking] InstallDefaultComponents=Yes[GuiRunOnce]%systemdrive%\install\main_batch.cmdMain_batch.cmd:CLS@echo offECHO.ECHO STARTING CUSTOM INSTALLATION PROCESS......ECHO.ECHO Adding Default User...net user Skipster /addnet localgroup "administrators" Skipster /addECHO.ECHO Applying Root Registry Tweaks...REGEDIT /S %systemdrive%\install\Reg_Root_Tweaks.regECHO.ECHO Copying patched UXTheme.dll for custom themes...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 6.0.0602 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opkECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\setup_wm.exe /Q:A /R:NECHO.ECHO Installing Movie Maker 2.0ECHO Please wait...start /wait %systemdrive%\install\MovieMaker\mm20.msi /qnECHO.ECHO Installing Microsoft JavaVM 3809.1....start /wait %systemdrive%\install\JavaVM\MSJava3809.exe /Q:A /R:NECHO.ECHO Updating Microsoft JavaVM to 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavx86_3810update.exe /Q:A /R:NECHO.ECHO Applying Custom Registry Tweaks...REGEDIT /S %systemdrive%\install\Regtweaks.regECHO.Echo Installing Custom Applications...start /wait %systemdrive%\install\applications.cmdECHO Installation complete. Press any key to continue...PAUSEEXIT Applications.cmd:CLS@echo offECHO.ECHO Installing Diskeeper 7.0ECHO Please Wait...start /wait %systemdrive%\install\Applications\Diskeeper\DiskeeperWorkstation.msi /QBECHO.ECHO Installing Norton Internet Security 2003ECHO Pleae Wait...start /wait %systemdrive%\install\APplications\NIS\NIS\NIS.msi /QBECHO.ECHO Installing ATI Control Panel for Catalyst 3.6ECHO Please wait...start /wait %systemdrive%\install\Applications\ATI_CP_3_6\Setup.exe -s -f1"%systemdrive%\install\Applications\ATI_CP_3_6\setup.iss"ECHO.ECHO Installing WinRAR 3.20ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar320.exe /sEXITI had to call Applications.cmd from Main_batch.cmd because for some reason when I did not, both batches would run simultaneously, even though winnt.sif was set to call them in order. It works, I am happy and I owe you guys a beer. Thanks for the excellent articles, tutorials and the friendly site. Keep up the good work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now