Untitled
unknown
plain_text
5 months ago
596 B
2
Indexable
winget install 9pfpfk4dj1s6 --silent --accept-package-agreements --accept-source-agreements $AppPackage = Get-StartApps | Where-Object { $_.Name -like "*Digidoc*" } if ($AppPackage -eq $null) { Write-Host "Could not find DigiDoc4 app. Please make sure it's installed." exit } $AppUserModelID = $AppPackage.AppID $PackageFullName = (Get-AppxPackage -Name "*DigiDoc4*").PackageFullName $PackageLocation = (Get-AppxPackage -Name "*DigiDoc4*").InstallLocation $IconPath = [System.IO.Path]::Combine($PackageLocation, "AppIcon.ico") Write-Host "DigiDoc4 installed silently."
Editor is loading...
Leave a Comment