Cycle through registry keys and uninstall matching ClickOnce
Posted: Tue Jul 10, 2012 6:32 am
I would like to cycle through the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall until I locate
ClickOnce shortcut filenames that look like "myApp*" (could be "myApp", "myApp 2.0", "myApp 2.3", etc.). Then I would like to read the UninstallString
rundll32.exe dfshim.dll,ShArpMaintain textWcx.application, Culture=neutral, PublicKeyToken=53c8a151dd9e6a61, processorArchitecture=msil
and uninstall the old app. It looks like I should do this near the Install Application Pre-Reqs near
~InstallAware Clipboard Data~
~Compiler Variable If~
~{4F6B74D8-5F5D-4C81-BB2C-EAE24B0A3A4A}~
~BUILDMODE~
~0~
~PATCH~
~TRUE~
Any tips on how to do this, as well as to silently uninstall the clickonce app would be much appreciated.
ClickOnce shortcut filenames that look like "myApp*" (could be "myApp", "myApp 2.0", "myApp 2.3", etc.). Then I would like to read the UninstallString
rundll32.exe dfshim.dll,ShArpMaintain textWcx.application, Culture=neutral, PublicKeyToken=53c8a151dd9e6a61, processorArchitecture=msil
and uninstall the old app. It looks like I should do this near the Install Application Pre-Reqs near
~InstallAware Clipboard Data~
~Compiler Variable If~
~{4F6B74D8-5F5D-4C81-BB2C-EAE24B0A3A4A}~
~BUILDMODE~
~0~
~PATCH~
~TRUE~
Any tips on how to do this, as well as to silently uninstall the clickonce app would be much appreciated.