I'm trying to uninstall ClickOnce apps on Windows
There's no way to uninstall using MSI, so I found a program called Click Once Uninstaller on github
https://github.com/6wunderkinder/Wunder.ClickOnceUninstaller
I need to deploy the exe in the remote machine and execute the command ' ClickOnceUninstaller.exe "Application Name" ' , how can I do it?
I tried a lot of commands to copy the file, but no luck. Can anyone please help?
I thought about:
1) Copy ClickOnceUninstaller.exe to the remote computer
2) Execute the command: ClickOnceUninstaller.exe "Application Name"
My deployment action:
1) Command:
cmd.exe /c xcopy /y "C:\Program Files (x86)\Lansweeper\PackageShare\Installers\ClickOnceUninstaller.exe" c:\temp\
2) Command:
cmd.exe c:\temp\ClickOnceUninstaller.exe "MyApp"
But it did not work.
Any help?
Thanks