Skip to content

Commit

Permalink
disable windows update
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwbrown committed May 13, 2024
1 parent 18d7bde commit f30c328
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
end


execute 'winupdate-stop' do
command "powershell -C \"Stop-Service -Name wuauserv -Force\""
end

execute 'wix-extract' do
cwd tmp_dir
command "powershell -C \"Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('wix311-binaries.zip', 'wix');\""
Expand Down

0 comments on commit f30c328

Please sign in to comment.