Hi all.
I've been reading the posts here & it seems like the post & batch file that's working for me is the *.msu one showing from page 1 & as shown below.
It's not working yet, but this a concept. I hope someone can help edit it from here. But as also mentioned by "centi50" he would also need the batch
file to run both *.exe & *.msu files together silently.
If I run it one kind of it's own, it's working, I'm sure there's a way for a combination of 2 in any order, any takers? Meaning both the *.exe files
& *.msu are in the same folder & will still run until the last patch? And then I need 2 text files to show the details of success or failed 1 showing
all the *.exe & 1 showing *.msu files. And if it's installed before or not needed on that OS (windows 7, Server 2008 or whatever OS) it would also
say something like "installed", "not required" or something. I would appreciate if someone can help, thanks.
Can edit from existing below
==================
echo off
for /f %%A in ('dir /b *.msu') do (
echo Installing Updates "%%A" ... >>msu_list.txt
start /wait %%A /quiet /norestart > nul
)
else
for /f %%A in ('dir /b *.exe') do (
echo Installing Updates "%%A" ... >>exe_list.txt
start /wait %%A /quiet /norestart > nul
)
echo.
echo ###########################################################
echo.
echo Updates installed
echo Press any key to restart
pause >NUL
echo.
rem I may or maynot need to restart so I "rem" it out first.
rem shutdown.exe /r /t 0