Strange batch file that doesn't install .exe unattended using /u switch. Doing .exe /u from command

  • Thread starter Thread starter Marlon Brown
  • Start date Start date
M

Marlon Brown

I launch the 'runpatchxp.cmd' file below on my WinXPSP1 and the patch
installer DOES NOT appear as unattend as it should. Patch installers are
launched and I get the dialog boxes where I need to click "Next" to proceed.

If I go to the command line prompt and I do >windowsxp-kb823182-x86-enu.exe
/u
the patch installer is launched OK as unattended mode.

What am I missing here ?


'runpatchxp.cmd
REM THIS IS FOR WINXP
@echo off
setlocal
set PATHTOFIXES="c:\tools\qchain\WINXPSP1"


%PATHTOFIXES%\WindowsXP-KB823182-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB824141-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB825119-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB828035-x86-ENU.exe /u
%PATHTOFIXES%\qchain.exe
 
Marlon said:
I launch the 'runpatchxp.cmd' file below on my WinXPSP1 and the patch
installer DOES NOT appear as unattend as it should. Patch installers
are launched and I get the dialog boxes where I need to click "Next"
to proceed.

If I go to the command line prompt and I do
the patch installer is launched OK as unattended mode.

What am I missing here ?


'runpatchxp.cmd
REM THIS IS FOR WINXP
@echo off
setlocal
set PATHTOFIXES="c:\tools\qchain\WINXPSP1"


%PATHTOFIXES%\WindowsXP-KB823182-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB824141-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB825119-x86-ENU.exe /u
%PATHTOFIXES%\WindowsXP-KB828035-x86-ENU.exe /u
%PATHTOFIXES%\qchain.exe

Your quotation marks become unbalanced when appended with remainder of
executables path. Remove the quotes from the SET statement or leave the
leading quote on set the SET statement, remove the trailing quote from
the SET statement and append it directly after .exe and before /u.

Dean
 
Back
Top