Force installation of drivers and setup programs
This commit is contained in:
parent
9f94b792a3
commit
71622f264e
15 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
)
|
||||
|
|
|
@ -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) `
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue