Set Winget allow hash mismatch
This commit is contained in:
parent
49a8195b8e
commit
e3b9fb2c0f
@ -18,9 +18,13 @@ powershell -ExecutionPolicy Bypass -File "C:\Scripts\Printers\01-Printer-Scripts
|
||||
:: Disable UAC to Allow for Winget Installs
|
||||
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 0 -Force
|
||||
|
||||
:: Allow Winget to Install Even If Hash Mismatch
|
||||
echo Updating Winget...
|
||||
winget settings --enable InstallerHashOverride
|
||||
|
||||
:: Install Google Chrome Enterprise & Accept Winget Terms
|
||||
echo Installing Google Chrome...
|
||||
winget install --exact --id Google.Chrome --silent --accept-source-agreements --accept-package-agreements --force
|
||||
winget install --exact --id Google.Chrome --silent --accept-source-agreements --accept-package-agreements --ignore-security-hash
|
||||
|
||||
:: Install Google Cloud Provider for Windows
|
||||
echo Installing Google Cloud Provider for Windows...
|
||||
@ -34,17 +38,17 @@ echo TCSE Remote MeshCentral Installed...
|
||||
|
||||
:: Install Google Drive
|
||||
echo Installing Google Drive...
|
||||
winget install --exact --id Google.GoogleDrive --silent
|
||||
winget install --exact --id Google.GoogleDrive --silent --ignore-security-hash
|
||||
|
||||
:: Install VLC Media Player
|
||||
echo Installing VLC Media Player...
|
||||
winget install --exact --id VideoLAN.VLC --silent
|
||||
winget install --exact --id VideoLAN.VLC --silent --ignore-security-hash
|
||||
|
||||
:: Install ImageGlass Image Viewer
|
||||
echo Installing ImageGlass...
|
||||
winget install --exact --id Microsoft.DotNet.DesktopRuntime.8
|
||||
winget install --exact --id Microsoft.EdgeWebView2Runtime
|
||||
winget install --exact --id DuongDieuPhap.ImageGlass --silent
|
||||
winget install --exact --id Microsoft.DotNet.DesktopRuntime.8 --ignore-security-hash
|
||||
winget install --exact --id Microsoft.EdgeWebView2Runtime --ignore-security-hash
|
||||
winget install --exact --id DuongDieuPhap.ImageGlass --silent --ignore-security-hash
|
||||
powershell Copy-Item 'C:\Scripts\Patches\ImageGlass\igconfig.admin.json' 'C:\Program Files\ImageGlass'
|
||||
|
||||
:: Run Debloat Script
|
||||
@ -52,11 +56,11 @@ powershell -ExecutionPolicy Bypass -File "C:\Scripts\Software\Win11Debloat\Win11
|
||||
|
||||
:: Install Zoom
|
||||
echo Installing Zoom...
|
||||
winget install --exact --id Zoom.Zoom --silent
|
||||
winget install --exact --id Zoom.Zoom --silent --ignore-security-hash
|
||||
|
||||
:: Install Adobe Reader
|
||||
echo Installing Adobe Reader...
|
||||
winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent
|
||||
winget install --exact --id Adobe.Acrobat.Reader.64-bit --silent --ignore-security-hash
|
||||
|
||||
:: Enable UAC
|
||||
powershell Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name EnableLUA -Value 1 -Force
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user