#cd "C:\Program Files (x86)\Sage\Sage 100\9.0\MDE\Install\MDE.Next\Windows"
Import-Certificate -FilePath "abacus MDE.Next.cer" -CertStoreLocation "Cert:\LocalMachine\TrustedPeople"
Add-AppxPackage -Path "Microsoft.NET.CoreFramework.Debug.2.2.appx"
Add-AppxPackage -Path "Microsoft.NET.CoreRuntime.2.2.appx"
Add-AppxPackage -Path "Microsoft.UI.Xaml.2.4.appx"
Add-AppxPackage -Path "Microsoft.VCLibs.x64.Debug.14.00.appx"
$version = "1.2604.7"
Add-AppxPackage -Path "abacus.mde.next.$Version.msixbundle"
$basePath = Get-Location
$languageFolder = Join-Path $basePath 'Sprachpakete'
$languagePacks = Get-ChildItem -Path $languageFolder -File -Filter *$Version*.msix | Sort-Object Name
# $languagePacks | ForEach-Object { Write-Host "   • $($_.Name)" }
foreach ($pkg in $languagePacks) {Add-AppxPackage -Path $pkg.FullName}
CheckNetIsolation.exe LoopbackExempt -a -p=S-1-15-2-3761456301-1402288356-3465957330-3809515609-47997896-3529956770-1914991029
# pause