# web-install.ps1 - Run as Administrator on the target machine. # Downloads and installs the latest ChakkaMauiApp from chakka.co.za. $ErrorActionPreference = "Stop" $base = "https://www.chakka.co.za/app" $dest = "$env:USERPROFILE\Downloads\ChakkaInstall" New-Item -ItemType Directory -Path $dest -Force | Out-Null Write-Host "Downloading ChakkaMauiApp 0.1.30.0 ..." -ForegroundColor Cyan Invoke-WebRequest "$base/ChakkaMauiApp_0.1.30.0_x64.cer" -OutFile "$dest\ChakkaMauiApp.cer" Invoke-WebRequest "$base/ChakkaMauiApp_0.1.30.0_x64.msix" -OutFile "$dest\ChakkaMauiApp.msix" Write-Host "Trusting certificate ..." -ForegroundColor Cyan Import-Certificate -FilePath "$dest\ChakkaMauiApp.cer" -CertStoreLocation Cert:\LocalMachine\Root Write-Host "Installing MSIX ..." -ForegroundColor Cyan Add-AppPackage -Path "$dest\ChakkaMauiApp.msix" -ForceUpdateFromAnyVersion Write-Host "Done. Launch ChakkaMauiApp from the Start menu." -ForegroundColor Green Read-Host "Press Enter to close"