-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
41 lines (39 loc) · 771 Bytes
/
Copy pathinstall.bat
File metadata and controls
41 lines (39 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@echo off
IF EXIST vpsupd.exe (
echo Updating Avast
start /wait vpsupd.exe /silent
)
for %%i in (npp*.exe) do (
echo Updating Notepad++
start /wait %%i /S
)
for %%i in (AcroRdrDC*.exe) do (
echo Updating Acrobat Reader
start /wait %%i /sAll
)
for %%i in (Eraser*.exe) do (
echo Updating Eraser
start /wait %%i --quiet
)
for %%i in (7z*.exe) do (
echo Updating 7-zip
start /wait %%i /S
)
if EXIST "Microsoft" (
cd Microsoft
for %%i in (*.exe) do (
echo Updating %%i
start /wait %%i /quiet /norestart
)
for %%i in (*.msu) do (
echo Updating %%i
start /wait %%i /quiet /norestart
)
for %%i in (*.msp) do (
echo Updating %%i
start /wait %%i /quiet /norestart
)
cd ..
echo Windows Updates finished
)
gpupdate /force