Skip to content

Commit

Permalink
Merge pull request #2 from eloekset/feature/FixIssue2-InvalidCharacters
Browse files Browse the repository at this point in the history
Fix invalid characters
  • Loading branch information
eloekset authored Jul 23, 2018
2 parents 3d6ef75 + fddf72b commit 40b16e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Publish-BiztalkBtdfApplication.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ function Get-AppUninstallCommand(){
[string]$appDisplayName
)
$app = Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\** | Where-Object {
$_.DisplayName -like “$appDisplayName*”
$_.DisplayName -like "$appDisplayName*"
}

if ($app -eq $null){
$app = Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\** | Where-Object {
$_.DisplayName -like “$appDisplayName*”
$_.DisplayName -like "$appDisplayName*"
}
}

Expand Down

0 comments on commit 40b16e8

Please sign in to comment.