Question

I'm bootstrapping a ClickOnce setup file so that I can add custom actions pre and post install. The only problem I'm facing is that the ClickOnce installation writes to the Add/Remove Programs section of Control Panel. This mean that the user would end up with two uninstallers (ClickOnce and my bootstrapper). I would like the program to be available offline, which rules out setting the ClickOnce deployment to online-only and suppressing the Add/Remove entry that way. Is there any other way to prevent a ClickOnce deploy from adding an entry to the Add/Remove section? Or is there a way to retrospectively remove the entry safely?

Was it helpful?

Solution

its stored in the registry under

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Just delete the corresponding key and your good but it does sound a little malicious

http://support.microsoft.com/kb/314481

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top