DaveXP Posted September 22, 2003 Share Posted September 22, 2003 Where do i put the cmdlines.cmd file as this will be the first time i have used it before and is they anything else i need to do to make it work for me.Thanks Guys Link to comment Share on other sites More sharing options...
RyanVM Posted September 22, 2003 Share Posted September 22, 2003 cmdlines.txt you mean? Put it in the $OEM$ directory. Link to comment Share on other sites More sharing options...
DaveXP Posted September 22, 2003 Author Share Posted September 22, 2003 is ti .txt not shaw thanks for letting me know that is there thing like i have to put that he top of it like Windows Registry Editer Version 5.00 or just put my information in there. Link to comment Share on other sites More sharing options...
Aaron Posted September 22, 2003 Share Posted September 22, 2003 yes, definitely .txt as RyanVM said Link to comment Share on other sites More sharing options...
DaveXP Posted September 22, 2003 Author Share Posted September 22, 2003 Thanks for clearing that up for me. Link to comment Share on other sites More sharing options...
DaveXP Posted September 22, 2003 Author Share Posted September 22, 2003 i am missing something as nothing happen after setup.So the cmdlines.txt goes in the $OEM$ folder and that then adds all Extras Setup information ect..and i dont need anything under [GuiRunOnce] is this right or not? Link to comment Share on other sites More sharing options...
GreenMachine Posted September 22, 2003 Share Posted September 22, 2003 CMDLINES.TXT should look something like this:[COMMANDS]".\INSTALLS.CMD"All your commands should be in the second file, INSTALLS.CMD in my example, which is in the same directory as CMDLINES.TXT. CMDLINES.TXT has funky/limited syntax, that is why it is easier to use the second script file. You need nothing in the GuiRunOnce, the fact that $OEM$\CMDLINES.TXT exists causes it to be parsed. Link to comment Share on other sites More sharing options...
DaveXP Posted September 22, 2003 Author Share Posted September 22, 2003 all is clear i can see the light. Thanks GreenMachine Link to comment Share on other sites More sharing options...
RyanVM Posted September 23, 2003 Share Posted September 23, 2003 Figure this one out. I've got a pause at the end of my update.cmd. However, when cmdlines.txt runs during setup (I can see the command prompt window come up), a second window appears then both just disappear and setup continues.update.cmd is in the same directory as cmdlines.txt. I'm calling ".\update.cmd" in the file. Any idea? Link to comment Share on other sites More sharing options...
GreenMachine Posted September 23, 2003 Share Posted September 23, 2003 Sounds to me like there is a line crashing out the whole thing, no? If so, that would explain why you never see your pause. I'd start putting in a few other pauses, or better yet, pipe some text into a log file: i.e.:ECHO Starting ABC Update >> LOGFILE.TXT...(run program / script command)ECHO ABC Completed Succesfully! >> LOGFILE.TXTIf you are the impatient type, you could also add something like this to the end of the script:NOTEPAD.EXE LOGFILE.TXTI cannot believe that the code is running to the end if the pause never happens. Link to comment Share on other sites More sharing options...
RyanVM Posted September 23, 2003 Share Posted September 23, 2003 I agree with you 100%. On one of the windows that came up, it said "1 File Copied Successfully". Here's what I'm trying to run:CLS@echo offTITLE Installing WindowsXP SP1 HotfixesECHO.ECHO Installing q282010: Jet 4.0 Service Pack 7...start /wait %systemroot%\Updates\q282010.exe /Q /U /ZECHO.ECHO Installing q322011: Cannot Preview a Fax in the Fax Console...start /wait %systemroot%\Updates\q322011.exe /Q /U /ZECHO.ECHO Installing q323255: Unchecked Buffer in Help May Allow Attacker to Run Code...start /wait %systemroot%\Updates\q323255.exe /Q /U /ZECHO.ECHO Installing q327405: Security and Privacy Information Update...start /wait %systemroot%\Updates\q327405.exe /Q:A /R:NECHO.ECHO Installing q327979: Game Stops Responding When Introductory Video Is Played...start /wait %systemroot%\Updates\q327979.exe /Q /U /ZECHO.ECHO Installing q328310: Flaw in Message Handling Could Enable Privilege Elevation...start /wait %systemroot%\Updates\q328310.exe /Q /U /ZECHO Installing q329048: Unchecked Buffer in File Decompression May Allow Bad Code...start /wait %systemroot%\Updates\q329048.exe /Q /U /ZECHO Installing q329115: Certificate Validation Flaw May Enable Identity Spoofing...start /wait %systemroot%\Updates\q329115.exe /Q /U /ZECHO.ECHO Installing q329170: SMB Signing Flaw May Allow Group Policy Modification...start /wait %systemroot%\Updates\q329170.exe /Q /U /ZECHO.ECHO Installing q329256: Inconsistent Gap Count Can Cause 1394 Enumeration Failure...start /wait %systemroot%\Updates\q329256.exe /Q /U /ZECHO Installing q329390: Unchecked Buffer in Windows Shell May Allow Compromizing...start /wait %systemroot%\Updates\q329390.exe /Q /U /ZECHO.ECHO Installing q329441: Cannot Create Network Connection After Windows XP Restore...start /wait %systemroot%\Updates\q329441.exe /Q /U /ZECHO Installing q329623: Problems with InterVideo DVD Software...start /wait %systemroot%\Updates\q329623.exe /Q /U /ZECHO.ECHO Installing q329692: Explorer.exe May Generate Error When Folder Closed...start /wait %systemroot%\Updates\q329692.exe /Q /U /ZECHO.ECHO Installing q329834: Unchecked Buffer in PPTP May Allow DoS Attacks...start /wait %systemroot%\Updates\q329834.exe /Q /U /ZECHO.ECHO Installing q330512: Processor State Not Restored If CPU at 100 Percent...start /wait %systemroot%\Updates\q330512.exe /Q /U /ZECHO.ECHO Installing q330994: April 2003 Cumulative Patch for Outlook Express...start /wait %systemroot%\Updates\q330994.exe /Q:A /R:NECHO.ECHO Installing q331488: Outlook Express Doesn't Use 3DES to Encrypt Mail...start /wait %systemroot%\Updates\q331488.exe /Q:A /R:NECHO.ECHO Installing q331953: RPC Endpoint Mapper Flaw Could Allow DoS Attacks...start /wait %systemroot%\Updates\q331953.exe /Q /U /ZECHO.ECHO Installing q810032: Panasonic DV Camera May Not Enumerate...start /wait %systemroot%\Updates\q810032.exe /Q /U /ZECHO.ECHO Installing q810243: Playback Support for WindowsXP Media Center Edition Files...start /wait %systemroot%\Updates\q810243.exe /Q /U /ZECHO Installing q810272: Audio Test Causes Computer to Stop Responding...start /wait %systemroot%\Updates\q810272.exe /Q /U /ZECHO.ECHO Installing q810565: Links Open in Internet Explorer Instead of Default...start /wait %systemroot%\Updates\q810565.exe /Q /U /ZECHO.ECHO Installing q810577: Unchecked Buffer in Redirector Allows Privilege Elevation...start /wait %systemroot%\Updates\q810577.exe /Q /U /ZECHO Installing q810833: Unchecked Buffer in Locator Service May Allow Code to Run...start /wait %systemroot%\Updates\q810833.exe /Q /U /ZECHO Installing q811493: Buffer Overrun in Kernel Message Handling May Allow Privilege Elevation...start /wait %systemroot%\Updates\q811493.exe /Q /U /ZECHO.ECHO Installing q811630: HTML Help Update...start /wait %systemroot%\Updates\q811630.exe /Q /U /ZECHO.ECHO Installing q812035: Crash Occurs in Ks.sys on Intel CPUs with Hyper-Threading...start /wait %systemroot%\Updates\q812035.exe /Q /U /ZECHO Installing q812415: Problems When Computer with Many Drives Enters S1 State...start /wait %systemroot%\Updates\q812415.exe /Q /U /ZECHO.ECHO Installing q813503: Adding and Removing IFRAME with Filters Crashes IE...start /wait %systemroot%\Updates\q813503.exe /Q:A /R:NECHO.ECHO Installing q814033: Cannot Install Driver Updates from Windows Update...start /wait %systemroot%\Updates\q814033.exe /Q /U /ZECHO.ECHO Installing q814078: Flaw in Windows Script Engine May Allow Code Execution...start /wait %systemroot%\Updates\q814078.exe /Q:A /R:NECHO.ECHO Installing q814995: Some Compatibility Fixes Don't Work After q328310 Update...start /wait %systemroot%\Updates\q814995.exe /Q /U /ZECHO.ECHO Installing q815485: WPA Wireless Security Update...start /wait %systemroot%\Updates\q815485.exe /Q /U /ZECHO.ECHO Installing q816073: Compile on WindowsXP System Slower Than WindowsNT System...start /wait %systemroot%\Updates\q816073.exe /Q /U /ZECHO.ECHO Installing q816868: Error Message: "Internet Explorer Cannot Download File"...start /wait %systemroot%\Updates\q816868.exe /Q:A /R:NECHO.ECHO Installing q817287: Windows Update 643 Error and Catalog Database...start /wait %systemroot%\Updates\q817287.exe /Q:A /R:NECHO.ECHO Installing q817606: Buffer Overrun in Windows Could Lead to Data Corruption...start /wait %systemroot%\Updates\q817606.exe /Q /U /ZECHO.ECHO Installing q817787: Media Player Skin Downloading May Allow Code Execution...start /wait %systemroot%\Updates\q817787.exe /Q:A /R:NECHO.ECHO Installing q820128: Windows XP Service Pack 1 Kernel Rollup Hotfix Package...start /wait %systemroot%\Updates\q820128.exe /Q /U /ZECHO.ECHO Installing q820291: "Set Program Access and Defaults" Icon and Help Content...start /wait %systemroot%\Updates\q820291.exe /Q /U /ZECHO.ECHO Installing q821253: Update For Windows Error Reporting...start /wait %systemroot%\Updates\q821253.exe /Q /U /ZECHO.ECHO Installing q821557: Unchecked Buffer in Shell May Allow System Compromizing...start /wait %systemroot%\Updates\q821557.exe /Q /U /ZECHO.ECHO Installing q821581: Performance Data from BootVis.exe Is Corrupted or Missing...start /wait %systemroot%\Updates\q821581.exe /Q /U /ZECHO Installing q822603: Windows XP SP1 USB 1.1 and 2.0 Driver Update...start /wait %systemroot%\Updates\q822603.exe /Q /U /ZECHO.ECHO Installing q822925: August 2003 Cumulative Patch for Internet Explorer...start /wait %systemroot%\Updates\q822925.exe /Q:A /R:NECHO.ECHO Installing q823559: HTML Converter Buffer Overrun May Allow Code Execution...start /wait %systemroot%\Updates\q823559.exe /Q /U /ZECHO.ECHO Installing q824105: Flaw in NetBIOS Could Lead to Information Disclosure...start /wait %systemroot%\Updates\q824105.exe /Q /U /ZECHO.ECHO Installing q824146: Buffer Overrun in RPCSS May Allow Code Execution...start /wait %systemroot%\Updates\q824146.exe /Q /U /ZECHO.ECHO Installing DirectX 9.0b...start /wait %systemroot%\Updates\dx9\dxsetup.exe /opkECHO.ECHO Installing q825116: DirectX 9.0b TV Tuner Update...start /wait %systemroot%\Updates\q825116.exe /Q /U /ZECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemroot%\Updates\reghacks.regECHO.pauseEXIT Link to comment Share on other sites More sharing options...
GreenMachine Posted September 23, 2003 Share Posted September 23, 2003 "1 File Copied Successfully"I'll bite, where is the copy command? I max out at about 20 lines of code.I'm tellin' ya, pipe to a log file, go have a beer, and when you come back you will have your answer. i.e. ECHO Installing q282010: Jet 4.0 Service Pack 7... >> LOGFILE.TXT Link to comment Share on other sites More sharing options...
RyanVM Posted September 25, 2003 Share Posted September 25, 2003 That's just the thing - there is no copy command. I tried the >> logfile.txt thing. There's no file on the hard drive after the installation! It's not even being created. For the record, here's my winnt.sif:[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]AutoActivate=NoUnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesTargetPath=\WINDOWSUnattendSwitch="yes"WaitForReboot="No"DriverSigningPolicy=IgnoreRepartition=NoOemPnPDriversPath="Drivers\AMD;Drivers\nVidia\AudioDrv;Drivers\nVidia\Display;Drivers\nVidia\Ethernet;Drivers\nVidia\GART;Drivers\nVidia\IDE;Drivers\nVidia\MemCtl;Drivers\nVidia\SMBus;Drivers\nVidia\USB;Drivers\Realtek\8139"[GuiUnattended]AdminPassword="changeme"EncryptedAdminPassword=NOOEMSkipRegional=1TimeZone=35OemSkipWelcome=1[UserData]ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxFullName="ChangeMe"OrgName="ChangeMe"ComputerName=ChangeMe[Display]BitsPerPel=16Xresolution=1024YResolution=768Vrefresh=75[TapiLocation]CountryCode=1[RegionalSettings]LanguageGroup=1Language=00000409[Identification]JoinWorkgroup=WORKGROUP[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=YesUseDomainNameDevolution=NoEnableLMHosts=YesAdapterSections=params.MS_TCPIP.Adapter1[params.MS_TCPIP.Adapter1]SpecificTo=Adapter1DHCP=YesWINS=NoNetBIOSOptions=0[Components]accessopt=offchat=offdialer=offhypertrm=offiis_webadmin=offindexsrv_system=offmedia_clips=offmsmsgs=offmsnexplr=offnetoc=offPop3Service=offPop3Srv=offWMPOCM=offzonegames=off[GuiRunOnce]%systemdrive%\Updates\guiupdate.bat And for what it's worth, guiupdate.bat works fine when logging in the first time.update.cmd looks like this:CLS@echo offTITLE Installing WindowsXP SP1 HotfixesECHO.ECHO Installing q282010: Jet 4.0 Service Pack 7... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q282010.exe /Q /U /ZECHO.ECHO Installing q322011: Cannot Preview a Fax in the Fax Console... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q322011.exe /Q /U /ZECHO.ECHO Installing q323255: Unchecked Buffer in Help May Allow Attacker to Run Code... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q323255.exe /Q /U /ZECHO.ECHO Installing q327405: Security and Privacy Information Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q327405.exe /Q:A /R:NECHO.ECHO Installing q327979: Game Stops Responding When Introductory Video Is Played... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q327979.exe /Q /U /ZECHO.ECHO Installing q328310: Flaw in Message Handling Could Enable Privilege Elevation... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q328310.exe /Q /U /ZECHO Installing q329048: Unchecked Buffer in File Decompression May Allow Bad Code... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329048.exe /Q /U /ZECHO Installing q329115: Certificate Validation Flaw May Enable Identity Spoofing... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329115.exe /Q /U /ZECHO.ECHO Installing q329170: SMB Signing Flaw May Allow Group Policy Modification... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329170.exe /Q /U /ZECHO.ECHO Installing q329256: Inconsistent Gap Count Can Cause 1394 Enumeration Failure... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329256.exe /Q /U /ZECHO Installing q329390: Unchecked Buffer in Windows Shell May Allow Compromizing... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329390.exe /Q /U /ZECHO.ECHO Installing q329441: Cannot Create Network Connection After Windows XP Restore... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329441.exe /Q /U /ZECHO Installing q329623: Problems with InterVideo DVD Software... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329623.exe /Q /U /ZECHO.ECHO Installing q329692: Explorer.exe May Generate Error When Folder Closed... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329692.exe /Q /U /ZECHO.ECHO Installing q329834: Unchecked Buffer in PPTP May Allow DoS Attacks... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q329834.exe /Q /U /ZECHO.ECHO Installing q330512: Processor State Not Restored If CPU at 100 Percent... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q330512.exe /Q /U /ZECHO.ECHO Installing q330994: April 2003 Cumulative Patch for Outlook Express... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q330994.exe /Q:A /R:NECHO.ECHO Installing q331488: Outlook Express Doesn't Use 3DES to Encrypt Mail... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q331488.exe /Q:A /R:NECHO.ECHO Installing q331953: RPC Endpoint Mapper Flaw Could Allow DoS Attacks... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q331953.exe /Q /U /ZECHO.ECHO Installing q810032: Panasonic DV Camera May Not Enumerate... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810032.exe /Q /U /ZECHO.ECHO Installing q810243: Playback Support for WindowsXP Media Center Edition Files... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810243.exe /Q /U /ZECHO Installing q810272: Audio Test Causes Computer to Stop Responding... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810272.exe /Q /U /ZECHO.ECHO Installing q810565: Links Open in Internet Explorer Instead of Default... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810565.exe /Q /U /ZECHO.ECHO Installing q810577: Unchecked Buffer in Redirector Allows Privilege Elevation... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810577.exe /Q /U /ZECHO Installing q810833: Unchecked Buffer in Locator Service May Allow Code to Run... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q810833.exe /Q /U /ZECHO Installing q811493: Buffer Overrun in Kernel Message Handling May Allow Privilege Elevation... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q811493.exe /Q /U /ZECHO.ECHO Installing q811630: HTML Help Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q811630.exe /Q /U /ZECHO.ECHO Installing q812035: Crash Occurs in Ks.sys on Intel CPUs with Hyper-Threading... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q812035.exe /Q /U /ZECHO Installing q812415: Problems When Computer with Many Drives Enters S1 State... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q812415.exe /Q /U /ZECHO.ECHO Installing q813503: Adding and Removing IFRAME with Filters Crashes IE... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q813503.exe /Q:A /R:NECHO.ECHO Installing q814033: Cannot Install Driver Updates from Windows Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q814033.exe /Q /U /ZECHO.ECHO Installing q814078: Flaw in Windows Script Engine May Allow Code Execution... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q814078.exe /Q:A /R:NECHO.ECHO Installing q814995: Some Compatibility Fixes Don't Work After q328310 Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q814995.exe /Q /U /ZECHO.ECHO Installing q815485: WPA Wireless Security Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q815485.exe /Q /U /ZECHO.ECHO Installing q816073: Compile on WindowsXP System Slower Than WindowsNT System... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q816073.exe /Q /U /ZECHO.ECHO Installing q816868: Error Message: "Internet Explorer Cannot Download File"... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q816868.exe /Q:A /R:NECHO.ECHO Installing q817287: Windows Update 643 Error and Catalog Database... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q817287.exe /Q:A /R:NECHO.ECHO Installing q817606: Buffer Overrun in Windows Could Lead to Data Corruption... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q817606.exe /Q /U /ZECHO.ECHO Installing q817787: Media Player Skin Downloading May Allow Code Execution... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q817787.exe /Q:A /R:NECHO.ECHO Installing q820128: Windows XP Service Pack 1 Kernel Rollup Hotfix Package... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q820128.exe /Q /U /ZECHO.ECHO Installing q820291: "Set Program Access and Defaults" Icon and Help Content... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q820291.exe /Q /U /ZECHO.ECHO Installing q821253: Update For Windows Error Reporting... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q821253.exe /Q /U /ZECHO.ECHO Installing q821557: Unchecked Buffer in Shell May Allow System Compromizing... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q821557.exe /Q /U /ZECHO.ECHO Installing q821581: Performance Data from BootVis.exe Is Corrupted or Missing... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q821581.exe /Q /U /ZECHO Installing q822603: Windows XP SP1 USB 1.1 and 2.0 Driver Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q822603.exe /Q /U /ZECHO.ECHO Installing q822925: August 2003 Cumulative Patch for Internet Explorer... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q822925.exe /Q:A /R:NECHO.ECHO Installing q823559: HTML Converter Buffer Overrun May Allow Code Execution... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q823559.exe /Q /U /ZECHO.ECHO Installing q824105: Flaw in NetBIOS Could Lead to Information Disclosure... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q824105.exe /Q /U /ZECHO.ECHO Installing q824146: Buffer Overrun in RPCSS May Allow Code Execution... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q824146.exe /Q /U /ZECHO.ECHO Installing DirectX 9.0b... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\dx9\dxsetup.exe /opkECHO.ECHO Installing q825116: DirectX 9.0b TV Tuner Update... >> LOGFILE.TXTstart /wait %systemdrive%\Updates\q825116.exe /Q /U /ZECHO.ECHO Applying Registry Tweaks... >> LOGFILE.TXTREGEDIT /S %systemdrive%\Updates\reghacks.regECHO.pauseEXITIs it possible that I've got illegal commands being called or something from the batch file that's making it quit early on? Link to comment Share on other sites More sharing options...
GreenMachine Posted September 25, 2003 Share Posted September 25, 2003 How did someone say here: I'm such a plum ...Of course you have no logfile: you are running on the read only CD. Change LOGFILE.TXT to %SYSTEMDRIVE%\LOGFILE.TXT. If you had watched the setup, instead of going off for a beer, you'd have seen an error message!One of the commands is certainly at fault, and crashing the batch. You have a lot of commands, and this is simply my lazy way of not needing to double check each one. It is also generally a good idea to wrap in quotes when using an environment variable. True %SYSTEMDRIVE% will probably never evaluate to a non 8.3 string, but others such as %PROGRAMFILESDIR% or %ALLUSERSPROFILE% may.If you are interested, you do not need to be running the updates from the hard disk. I put them in $OEM$\SVCPACK and call them as:START "Installing Fix" /WAIT ".\SVCPACK\HotFix.exe" /Q /SI copy nothing to the hard disk, except the shortcuts (I replace them all), and a "SetUser bat and reg file" for resetting reg tweaks. I do not need $OEM$\1 or such.Waiting for your next results ... Link to comment Share on other sites More sharing options...
GreenMachine Posted September 25, 2003 Share Posted September 25, 2003 P.S. For quicker debugging, try simply running update.cmd from the command line, without a real install. 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