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

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
 
D

Dean Wells [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top