Force installation of drivers and setup programs

This commit is contained in:
Manuel Thalmann 2024-10-13 22:07:44 +02:00
parent 9f94b792a3
commit 71622f264e
15 changed files with 15 additions and 15 deletions

View file

@ -17,7 +17,7 @@ begin
and source "$dir/../Software/pacman/main.fish" and source "$dir/../Software/pacman/main.fish"
and source "$dir/../Software/yay/main.fish" and source "$dir/../Software/yay/main.fish"
and source "$dir/../Software/powershell/main.fish" and source "$dir/../Software/powershell/main.fish" --force
and yayinst \ and yayinst \
linux-headers \ linux-headers \

View file

@ -19,5 +19,5 @@ begin
end end
end end
runInstaller $argv runInstaller --force $argv
end end

View file

@ -22,5 +22,5 @@ begin
sudo pacman -Sy sudo pacman -Sy
end end
runInstaller $argv runInstaller --force $argv
end end

View file

@ -11,5 +11,5 @@ begin
echo "%wheel ALL=(ALL:ALL) ALL" | sudo tee /etc/sudoers.d/wheel >/dev/null echo "%wheel ALL=(ALL:ALL) ALL" | sudo tee /etc/sudoers.d/wheel >/dev/null
end end
runInstaller $argv runInstaller --force $argv
end end

View file

@ -17,5 +17,5 @@ begin
end end
end end
runInstaller $argv runInstaller --force $argv
end end

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-AmdPackage "https://www.amd.com/en/support/downloads/drivers.html/chipsets/tr4/x399.html"; Install-AmdPackage "https://www.amd.com/en/support/downloads/drivers.html/chipsets/tr4/x399.html";
}; };

View file

@ -1,7 +1,7 @@
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../../Common/Scripts/System.ps1"; . "$PSScriptRoot/../../../Common/Scripts/System.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
$dir = New-TemporaryDirectory; $dir = New-TemporaryDirectory;
$file = "driver.zip"; $file = "driver.zip";

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/03CHIPSET/DRV_Chipset_AMD_TRX40_TP_TSD_W10_64_V30901140_20211006R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA"; Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/03CHIPSET/DRV_Chipset_AMD_TRX40_TP_TSD_W10_64_V30901140_20211006R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA";
}; };

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/02BT/DRV_Bluetooth_Intel_9260_TP_W11_64_V2210002_20211222R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA"; Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/02BT/DRV_Bluetooth_Intel_9260_TP_W11_64_V2210002_20211222R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA";
}; };

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/08WIRELESS/DRV_WiFi_Intel_TP_W11_64_V2219004_20230130R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA"; Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/08WIRELESS/DRV_WiFi_Intel_TP_W11_64_V2219004_20230130R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA";
}; };

View file

@ -1,6 +1,6 @@
. "$PSScriptRoot/../../../../Common/Scripts/Software.ps1"; . "$PSScriptRoot/../../../../Common/Scripts/Software.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/04LAN/DRV_LAN_Marvell_TP_TSD_W11_64_V3130_20211118R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA"; Install-AsusPackage "https://dlcdnets.asus.com/pub/ASUS/mb/04LAN/DRV_LAN_Marvell_TP_TSD_W11_64_V3130_20211118R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA";
}; };

View file

@ -8,7 +8,7 @@
"$softwarePath/tobii-gamehub/Main.ps1" "$softwarePath/tobii-gamehub/Main.ps1"
); );
Start-SoftwareInstaller @args ` Start-SoftwareInstaller -Force @args `
-Installer { -Installer {
Install-SetupPackage -Source "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe"; Install-SetupPackage -Source "https://files.update.tech.tobii.com/Tobii_Eye_Tracking_Core_v2.16.8.214_x86.exe";

View file

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

View file

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

View file

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