snakefood Posted July 12, 2004 Share Posted July 12, 2004 Lo peeps...need a spot of advice again.I Hve got my unattended dvd workin ok, except the reg file (registry.reg) doesn't import during install, "install" folders are not deleted after setup, also i never see the "Windows XP will now restart in 5 seconds" window.Could one of the updates be causing a re-hoot automatically?Could someone please ave a look at my files and see if there's something i've missed out on?Many thanx in advance if you can.CLS@echo offTITLE Snakefoods Uber-L337 Install....ECHO.ECHO The system will now install a series of software appz,ECHO followed by the a set of tweaks to the Registry....ECHO .......ECHO ECHO This may take a lil while if u got a humilipc..... :DECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\registry.regECHO.ECHO Extracting Office 2003 Professional ECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003.exe /sECHO.ECHO Installing Office 2003 Professional ECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=%systemdrive%\install\Applications\OfficeXP\Unattended.MST /qb-ECHO.ECHO Installing WinRAR 3.3 PlusECHO If you thought office was a long wait....start /wait %systemdrive%\install\Applications\wrar330.exe /sECHO.ECHO Installing 3D Mark 01ECHO Please wait...start /wait %systemdrive%\install\Applications\3DMark01.exeECHO.ECHO Installing 3DMark03ECHO Please wait...start /wait %systemdrive%\install\Applications\3DMark03.exeECHO.ECHO Installing AC3FilterECHO Please wait...start /wait %systemdrive%\install\Applications\AC3Filter.exeECHO.ECHO Installing Ad-aware6 ProECHO Please wait...start /wait %systemdrive%\install\Applications\Ad-aware6Professional.exeECHO.ECHO Installing AdobeAcrobatECHO Please wait...start /wait %systemdrive%\install\Applications\AdobeAcrobat.exeECHO.ECHO Installing OpenTarget TweakECHO Please wait...start /wait %systemdrive%\install\Applications\OpenTarget.exeECHO.ECHO Installing AlcoholECHO Please wait...start /wait %systemdrive%\install\Applications\Alcohol.exeECHO.ECHO Installing BitTorrent ClientECHO Please wait...start /wait %systemdrive%\install\Applications\BitTorrentS-5.8.7.exeECHO.ECHO Installing CopyToDVDECHO Please wait...start /wait %systemdrive%\install\Applications\CopyToDVD.exeECHO.ECHO Installing DiskeeperECHO Please Wait...start /wait %systemdrive%\install\Applications\Diskeeper.exeECHO.ECHO Installing DivXECHO Please wait...start /wait %systemdrive%\install\Applications\DivX.exeECHO.ECHO Installing DvD DecrypterECHO Please wait...start /wait %systemdrive%\install\Applications\Decrypter.exeECHO.ECHO Installing FraunhoferECHO Please wait...start /wait %systemdrive%\install\Applications\Fraunhofer.exeECHO.ECHO Installing GSpotECHO Please wait...start /wait %systemdrive%\install\Applications\GSpot.exeECHO.ECHO Installing HuffyuvECHO Please wait...start /wait %systemdrive%\install\Applications\Huffyuv.exeECHO.ECHO Installing IsoBuster 1.5ECHO Please wait...start /wait %systemdrive%\install\Applications\IsoBuster1.5.exeECHO.ECHO Installing LSX-MPEG SuiteECHO Please wait...start /wait %systemdrive%\install\Applications\LSX-MPEGSuite.exeECHO.ECHO Installing DreamWeaver 2004ECHO Ope ya still waitin.....start /wait %systemdrive%\install\Applications\MacromediaDreamweaverMX2004.exeECHO.ECHO Installing MakeTorrent2ECHO Please wait...start /wait %systemdrive%\install\Applications\MakeTorrent2.exeECHO.ECHO Installing MircInvisionECHO Please wait...start /wait %systemdrive%\install\Applications\MircInvision.exeECHO.ECHO Installing MSNECHO Please wait...start /wait %systemdrive%\install\Applications\MSN.exeECHO.ECHO Installing Nero6.3ECHO Please wait sum more...start /wait %systemdrive%\install\Applications\Nero6.3.exeECHO.ECHO Installing PowerDVDECHO Please wait...start /wait %systemdrive%\install\Applications\PowerDVD5.exeECHO.ECHO Installing RealPlayerECHO Please wait...start /wait %systemdrive%\install\Applications\RealPlayer.exeECHO.ECHO Installing DVD ShrinkECHO Please wait...start /wait %systemdrive%\install\Applications\Shrink.exeECHO.ECHO Installing Winamp 2.91ECHO Please wait...start /wait %systemdrive%\install\Applications\Winamp.exeECHO.ECHO Installing XviDECHO Please wait...start /wait %systemdrive%\install\Applications\XviD.exeECHO.ECHO Installing TMPGEncECHO Please wait...Only 3 more.....start /wait %systemdrive%\install\Applications\TMPGEnc.exeECHO.ECHO Installing Q817787 for Windows Media Player 8ECHO Please wait...start /wait %systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:NECHO.ECHO Installing Q832483 Buffer overrun in an MDAC function could allow code executionstart /wait %systemdrive%\install\hotfixes\ENU_Q832483_MDAC_X86.EXE /C:"dahotfix.exe /q /n" /qECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installECHO.ECHO Deleting Driver Installation Files...RD /S /Q %systemdrive%\DriversECHO.ECHO Restarting the PC in 5 seconds...shutdown.exe -r -f -t 05 -c "Windows XP will now restart in 5 seconds"Will add my reg file as attachment..no need to cluter up phorum..Greatly appreciate it if anyone can suss this out.Edit: Grammatically tidied as requsted...registry.reg Link to comment Share on other sites More sharing options...
Solid as a rock Posted July 12, 2004 Share Posted July 12, 2004 i have the same problem as you, because the map drivers or install is busy and couldnt be removed the psshutdown will be killed. i am curious what is the problem.first asking you, do u use 3comdriver, nvidiadriver or intel INF driver at the oempnppathway? Link to comment Share on other sites More sharing options...
snakefood Posted July 12, 2004 Author Share Posted July 12, 2004 Er..not sure.I'm still kinda a n00b to this, where am i lookin, in the drivers folder?Tell me where to look and i'll let ya know what i've got.(My dvd was partially setup for me)ThanxEdit: Grammatically tidied as requsted... Link to comment Share on other sites More sharing options...
homiebrah Posted July 12, 2004 Share Posted July 12, 2004 Post a copy of your winnt.sif file, with the product key removed. Link to comment Share on other sites More sharing options...
snakefood Posted July 12, 2004 Author Share Posted July 12, 2004 here you go..;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch=yes TargetPath=\WINDOWS Repartition=No OemPnPDriversPath="Drivers\IDE;Drivers\RAID;Drivers\RAID\3ware6k;Drivers\RAID\3ware78k;Drivers\RAID\3112r;Drivers\RAID\3114r;Drivers\RAID\3124r;Drivers\RAID\hpt371;Drivers\RAID\sis180;Drivers\RAID\sis181;Drivers\SATA;Drivers\SATA\3112;Drivers\SATA\3114;Drivers\SATA\3124;"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1[UserData] ProductKey=THIS-ISA-NICE-LEGAL-PRODUCT FullName="Admin" OrgName="" ComputerName=Uber-PC[Display]BitsPerPel=32Xresolution=1024YResolution=768[RegionalSettings] LanguageGroup=1 Language=00000809[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Shell]CustomDefaultThemeFile="%Systemroot%\Resources\Themes\Plex Style M4.THEME"[Components]msmsgs=offmsnexplr=off freecell=offhearts=offminesweeper=offpinball=offsolitaire=offspider=offzonegames=off[GuiRunOnce]%systemdrive%\install\start.cmdEdit: Grammatically tidied as requsted... Link to comment Share on other sites More sharing options...
homiebrah Posted July 12, 2004 Share Posted July 12, 2004 Did you try running the start.cmd file after XP has been setup to see if it has any issues? If not, give it a shot.Would recommend importing your .reg file during setup, using cmdlines.txt.As for the winnt.sif, if you're having a problem with drivers, add the following line:[unattended]DriverSigningPolicy=IgnoreLast, check to make sure that your $OEM$ file is in the right place. Here is a look at where it should be:http://unattended.msfn.org/xp/oemfolders.htm Link to comment Share on other sites More sharing options...
Solid as a rock Posted July 12, 2004 Share Posted July 12, 2004 i think your oempnppath is too long? i am not surealso u could use this[unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes ConfirmHardware=No OverwriteOemFilesOnupgrade=No TargetPath=\WINDOWS UnattendSwitch=Yes WaitForReboot=No DriverSigningPolicy=Ignore OemPnPDriversPath="Drivers\000_intel_INF;Drivers\001_GIGABIT_LAN\SOURCE;Drivers\002_Nvidia56.72" CrushDumpSetting=1 KeybordLayout="US-International" [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=fillthisin OemSkipWelcome=1 Autologon=Yes AutoLogonCount=1[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=85[RegionalSettings] LanguageGroup=1 SystemLocale=fillthisin UserLocale=fillthisin InputLocale=fillthisin[branding] BrandIEUsingUnattended=Yes Home_Page=http://www.fillthisin Search_Page=http://www.fillthisin Link to comment Share on other sites More sharing options...
snakefood Posted July 12, 2004 Author Share Posted July 12, 2004 @ homiebrah - I've added a cmdlines.txt file to the oem folder and moved my reg file there as well.This is how i've setup my cmdlines file:[COMMANDS]"registry.reg"Is this right?@ Think my oempnppath is long coz i got 3 drivers loading, IDE, RAID & SATA?Am testin this setup now on VMWare...post back soon....Edit: Grammatically tidied as requsted... Link to comment Share on other sites More sharing options...
blinkdt Posted July 12, 2004 Share Posted July 12, 2004 @snakefoodBelieve you need REGEDIT /S to kick off the registry.reg file.My Cmdlines.txt file looks like this:[COMMANDS]"useraccounts.cmd""REGEDIT /S autologon.reg"".\RunOnceEx.cmd"I'm only now playing with the autologon portion. Link to comment Share on other sites More sharing options...
Alanoll Posted July 12, 2004 Share Posted July 12, 2004 What about the regfile doesn't import?Also, I can tell by your CMD file, that neither the delete command for your drivers Drivers nor your Shutdown command are being executed. And that's just be looking at your code. Put the command that delete INSTALL AFTER the other two. Allow for enough time for Windows to fully delete Install in your shutdown command.Also, to allow for COMPLETE removal of the install folder, put your CMD file somewhere else besides in DRIVERS or INSTALL and ahve another line delete it.OEMPNPDriversPath limit is upwards of 1000 characters (even more if you're not using sysprep) so you're NO WHERE near that,and that is not the problem.REGEDIT /S is neccesary when calling REG files.Also, could you reframe from using shorthand in your post. I know your English and everything, but alot of the more knowledgable people won't repsond to you, just because of the way you type. Files is spelt Files, not Philes. My is spelt My not Me. Link to comment Share on other sites More sharing options...
killerbee Posted July 13, 2004 Share Posted July 13, 2004 Also, could you reframe from using shorthand in your post. I know your English and everything, but alot of the more knowledgable people won't repsond to you, just because of the way you type. Files is spelt Files, not Philes. My is spelt My not Me.@alanoll,you have really found the point...cyaKiller Bee Link to comment Share on other sites More sharing options...
snakefood Posted July 13, 2004 Author Share Posted July 13, 2004 Firstly..wow, yep my drivers are still not being deleted and my pc is not shuttin down.Secondly..I do have a habit of always typing how i would say something. Will refrain from it in future on here.Put the command that delete INSTALL AFTER the other twoAfter which 2 - could you state a little more clearly pleaseREGEDIT /S is neccesary when calling REG filesSo should my cmdlines file read:[COMMANDS]"REGEDIT /S"".\registry.reg"or should i write another small batch file, call that from the cmdlines file and have that call the registry file?put your CMD file somewhere else .....Is this refering to my cmdlines file?I've currently put it in the $OEM$ folder, is this ok? Link to comment Share on other sites More sharing options...
snakefood Posted July 13, 2004 Author Share Posted July 13, 2004 I've just tested the above config - at T-10 the registry editor pops up.I must be calling the REGEDIT /S incorrectly somehow? Link to comment Share on other sites More sharing options...
Alanoll Posted July 13, 2004 Share Posted July 13, 2004 it's REGEDIT /S (FILE) like blinkdt has it.As for the commands....ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installECHO.ECHO Deleting Driver Installation Files...RD /S /Q %systemdrive%\DriversECHO.ECHO Restarting the PC in 5 seconds...shutdown.exe -r -f -t 05 -c "Windows XP will now restart in 5 seconds"toECHO.ECHO Deleting Driver Installation Files...RD /S /Q %systemdrive%\DriversECHO.ECHO Restarting the PC in 5 seconds...shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 5 seconds"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installOR, you could prevent it another way. Move Install.cmd OUTSIDE your INSTALL folder. So instead of it being in $OEM$\$1\Install on your CD, move it to $OEM$\$1 and change the line in your WInnt.sif to %systemdrive%\Install.cmd Link to comment Share on other sites More sharing options...
snakefood Posted July 13, 2004 Author Share Posted July 13, 2004 Thank you Alanoll...I've made the changes as you recommend.Will run 1 last test now, then i'm off to bed.Many thanks for your time.Will report back tommorow and let you know how it went. 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