While experimenting with trying to publish both a Foo and Foo Beta version of my application via ClickOnce I managed to clobber the existing and previously-working-fine Foo 1.0.0 install (replacing it with Foo Beta 1.0.5, which does not work) due to using the same GUID, assembly name, product name or something.
OK, honest mistake. In an attempt to revert this I then uninstalled Foo Beta using the Windows 7 add/remove programs.
My computer is now in a state where no instance of Foo shows up in Windows 7 Add/Remove programs. However, Foo Beta is still shown as installed. In addition, I am unable to re-install Foo 1.0.0, because it thinks that a newer version of the program (Foo Beta 1.0.5) already exists on my computer - instead I get the `Unable to install because a newer version of this product is already installed' message.
How can I get my computer to a state where neither Foo nor Foo Beta have ever been installed on it, so that I can then go and re-install Foo?
So far I have read Stack Overflow questions Uninstall ClickOnce clients and How can I remove all traces of a ClickOnce application from a customer's computer? and tried:
When I run the installer, I still get the error. Where is it finding traces of my program from? And for future reference, where is this documented?
You can try using this command to clear the ClickOnce cache:
rundll32 dfshim CleanOnlineAppCache
DO IT THE OLD WAY! :D
use the "old" control panel to remove the Click Once app and re-install it. Do not use the "new " Windows Ten/2016 interface
EG this is GOOD and will remove Click Once:
Start => type
Control Panel\Programs\Programs and Features
EG this is BAD and will get you in a circular hell if you use it to remove Click Once:
Start => Run =>
ms-settings:
1) Run rundll32 %SystemRoot%\system32\dfshim.dll CleanOnlineAppCache
2) You might have to manually delete the ClickOnce deployment folders,
3) You might also have to logout and login back
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With