Author Posts

September 9, 2016 at 12:04 pm

I have Win7AndW2K8R2-KB3134760-x64.msu, which is a Windows update. I'm trying to do a silent install, but it won't install it. When I run the batch file (see below), it opens and closes immediately. The msu file is located in the same folder as the batch file.

@echo off
start /wait ".\Win7AndW2K8R2-KB3134760-x64.msu" /quiet /norestart

Thanks,

Tony

September 9, 2016 at 12:47 pm

even if it does not belong here ....
try this

@echo off
start /wait %~dp0Win7AndW2K8R2-KB3134760-x64.msu /quiet /norestart

Have a nice day

  • This reply was modified 2 years ago by  Olaf Soyk.

September 9, 2016 at 1:05 pm

Doing the same thing, opening and closing, does that mean it's working?

September 9, 2016 at 1:10 pm

didn't pay attantion in the first reply ... sorry about that

@echo off
start /wait wusa.exe %~dp0Win7AndW2K8R2-KB3134760-x64.msu /quiet /norestart

now it should actually

September 9, 2016 at 1:30 pm

Do keep in mind that we try to stay focused on PowerShell Q&A here ;).

September 9, 2016 at 1:31 pm

Thank you,

I think it's working now, I'm testing it on a computer now.

I appreciate it.

September 9, 2016 at 1:37 pm

Sorry Don, and thanks Olaf, it's working