May 22, 200422 yr I used to use GuiRunOnce for my Unattended XPcd then went to RunOnceEX for the proffesional look, now ive gone back to GuiRunOnce for 2 reasons. 1) too many entries in the RunOnceEX ment the dialog box went off the screen 2) i can now use nice pretty colour text!!Now to the point. Converting back i thought would be easy, but no.this is my Winnt.sif:;SetupMgrTag[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes ExtendOEMPartition=0 OemPreinstall=yes UnattendSwitch="yes" TargetPath=\WINDOWS WaitForReboot="No" Repartition=Yes DriverSigningPolicy=Ignore KeyboardLayout="United Kingdom" Hibernation=No FactoryMode=Yes OemPnPDriversPath="Drivers\001\AGP;Drivers\001\IDEWinXP;Drivers\001\Inf\WinXP;Drivers\001\WinXP;Drivers\002;Drivers\003;Drivers\004;Drivers\005\win2k_xp\enu\Drivers;Drivers\006"[Data] MSDosInitiated="0" UnattendedInstall="Yes" AutoPartition=1[GuiUnattended] AdminPassword=changed EncryptedAdminPassword=no OEMSkipRegional=1 TimeZone=85 OemSkipWelcome=1 [UserData] ProductKey=the-key-has-been-removed FullName="bl" OrgName="" ComputerName=Deep Thawt[RegionalSettings] LanguageGroup=00000809[Display] BitsPerPel=32 Xresolution=800 YResolution=600 Vrefresh=65[Identification] JoinWorkgroup=games[Networking] InstallDefaultComponents=No[NetAdapters] Adapter1=params.Adapter1[params.Adapter1] INFID=*[NetClients] MS_MSClient=params.MS_MSClient[NetServices] MS_SERVER=params.MS_SERVER[NetProtocols] MS_TCPIP=params.MS_TCPIP[params.MS_TCPIP] DNS=No UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=No IPAddress=147.258.369 SubnetMask=255.255.0.0 WINS=No NetBIOSOptions=0[Components] AutoUpdate=off msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off mswordpad=Off rec=Off chat=Off deskpaper=Off dialer=Off media_clips=Off mplay=on WMPOCM=off WMAccess=off OEAccess=off IEAccess=off[Shell] DefaultStartPanelOff=no DefaultThemesOff=no [Branding] BrandIEUsingUnattended=Yes[SystemRestore] MaximumDataStorePercentOfDisk=5%[GuiRunOnce] %systemdrive%\batch\Install.cmd %systemdrive%\batch\register.cmd %systemdrive%\batch\Cleanup.cmd %systemdrive%\batch\SortingSM.cmd %systemdrive%\batch\Finalizing.cmdThe problem is when the Install.cmd is running, the other cmd's dont wait for it to finish, they just start as well? Whats going on?
May 23, 200422 yr You can easily fix that by calling your batch files from a main batch file. Just use the 'start /wait' command.winnt.sif[GuiRunOnce] %systemdrive%\batch\runonce.cmdrunonce.cmdstart /wait %systemdrive%\batch\Install.cmdstart /wait %systemdrive%\batch\register.cmdstart /wait %systemdrive%\batch\Cleanup.cmdstart /wait %systemdrive%\batch\SortingSM.cmdstart /wait %systemdrive%\batch\Finalizing.cmdHope that helps.
May 23, 200422 yr Author drmarvin, tryed your sugestion with no joy. All cmd's ran at the same time. Modded Winnt.sif[GuiRunOnce] %systemdrive%\Install\runeonce.cmdI remember reading a post about this some time ago, but can't remember the out come. Does it mater that the batch files are being run from the CD(%CDROM%) and not copied to the hard drive (%systemdrive%)?
May 26, 200422 yr you can call one cmd from the previous cmd so before one is finished the next one doesn't starte.g.install.cmd:------xxxxxxxxxregister.cmd------register.cmd:------zzzzzzzzzzcleanup.cmd------this must workbut could you also post all those cmds so we can see what's going on
Create an account or sign in to comment