Is it possible to uninstall a click once client app using windows powershell?
Get-WmiObject Win32_Product -Filter "name='xxxx'"
When I use above, click once application doesn't show up. But it works with other apps. (Getting everything without filter also doesn't contain the click once application. But its visible in add/remove program UI).
Please help.
Thanks in advance.
read this:
EDIT after comment:
$InstalledApplicationNotMSI = Get-ChildItem HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall | foreach-object {Get-ItemProperty $_.PsPath}
$UninstallString = $InstalledApplicationNotMSI | ? { $_.displayname -eq "YourAppicationDisplayName" } | select uninstallstring
cmd /c $UninstallString.UninstallString
the problem is that is not an Silent unistallation. You have to add code for sendkey() TAB + ENTER to made it silently.