Skip to content

Commit

Permalink
Log Package Family Name (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Aug 17, 2024
1 parent 9654972 commit ad42e28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/Start-Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Write-Host " - Testing to see if the app is installed..."
$appInstalls = Get-AppxPackage -Name $appIdentity
if ($appInstalls) {
$packageFullName = $appInstalls.PackageFullName
Write-Host " App was installed '$packageFullName', uninstalling..."
$packageFamilyName = $appInstalls.PackageFamilyName
Write-Host " App was installed '$packageFullName' ($packageFamilyName), uninstalling..."
Remove-AppxPackage -Package $packageFullName
Write-Host " Uninstall complete..."
} else {
Expand Down Expand Up @@ -112,7 +113,7 @@ Add-AppxPackage -Path $App
$appInstalls = Get-AppxPackage -Name $appIdentity
$packageFullName = $appInstalls.PackageFullName
$packageFamilyName = $appInstalls.PackageFamilyName
Write-Host " Application installed: '$packageFullName'"
Write-Host " Application installed: '$packageFullName' ($packageFamilyName)"

Write-Host " - Preparation complete."

Expand Down

0 comments on commit ad42e28

Please sign in to comment.