Force installation of drivers and setup programs

This commit is contained in:
Manuel Thalmann 2024-10-13 22:07:44 +02:00
commit 71622f264e
15 changed files with 15 additions and 15 deletions
scripts/Windows/Software
pinned-item
windows
winget

View file

@ -10,7 +10,7 @@ foreach ($key in $PSBoundParameters.Keys) {
$context = $parameters.context;
$context.Add("Installer", $parameters.installer);
Start-SoftwareInstaller @args @parameters -Installer {
Start-SoftwareInstaller -Force @args @parameters -Installer {
param(
[hashtable] $Context
)

View file

@ -27,7 +27,7 @@ using namespace Microsoft.Win32;
[string[]] $homeExclusions = Get-Content "$PSScriptRoot/Home.exclude.txt";
Start-SoftwareInstaller @args `
Start-SoftwareInstaller -Force @args `
-Backup {
Add-BackupArtifacts -Source "$env:PUBLIC" -Path "Public" `
-Include ($userFolders) `

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args `
Start-SoftwareInstaller -Force @args `
-Installer {
$xamlDownloadLink = "https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.x64.appx";
$downloadLink = "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle";