How To Remove Clickonce Application
Active4 months ago
  1. How To Remove Clickonce Application On Mac
  2. How To Remove Clickonce Application Windows 7
  3. How To Uninstall Clickonce App

I have multiple ClickOnce Applications that will not install on my, and others, Windows 10 PCs. My PC is Win10 Enterprise Version 1703 Build 15063.632 on a Lenovo T570, it's not on a domain, and my user is administrator. I have a ClickOnce application that about 120 customers are using. This week, I found out two customers declined an update in January and were stuck on an old version.

I have a WinForms application that was going to use ClickOnce. But it turns out ClickOnce won't work for my application, so I'd like to remove it. Only..there doesn't seem to be an obvious way to do this. There's no 'Un-ClickOnce' button. Does anybody know what steps I need to take to get my app to be like it was before ClickOnce integrated itself?

(I know I can create a new project and import stuff into it, but it seems silly to have to do that, so I'm hoping there's another way.)

Ryan Lundy
Ryan LundyRyan Lundy
162k31 gold badges165 silver badges198 bronze badges

5 Answers

Other responses here are not correct or helpful. It is incorrect to state that it never needs removing.

One such example I experienced recently was when the application had a need for administrative privileges. Any attempt to embed administrative requirements into the manifest will result in the application not even compiling while ClickOnce is still present in the solution.

The following two steps enabled me to turn off ClickOnce (in Visual Studio 2010):

In the project properties,

  1. Signing tab: Untick 'Sign the ClickOnce manifests'
  2. Security tab: Untick 'Enable ClickOnce security settings'
Peter Mortensen
14.5k19 gold badges89 silver badges118 bronze badges
Chris RogersChris Rogers
1,4281 gold badge13 silver badges17 bronze badges

I agree with the others, there is no need to 'remove ClickOnce'.

If you are really going for it though, IIRC all ClickOnce settings are in the .csproj file for the project, so remove all XML tags there that relate to ClickOnce. (maybe easiest to compare to a new app that hasn't been deployed with CO ever to see what tags are not there)

andyhammarandyhammar

If you refer the the ClickOnce Application Deployment Manifest files that appear in your Debug folder, go to Project Properties -> Security and uncheck 'Enable ClickOnce Security Settings'

You can also go to Project Properties -> Signing and uncheck 'Sign the ClickOnce manifests', but this is not necessary because it does not have what to sign if you do the first uncheck.

Now if you go to debug and delete .application files, at rebuild, there will not appear again.

Gabriel DiaconescuGabriel Diaconescu
1,2333 gold badges17 silver badges29 bronze badges

I believe the only thing that is left from ClickOnce once you stop deploying it is file publish.xml that tells you about what you have deployed thus far and what version you are at. Otherwise there is really nothing there that need concern you, just deploy from the bin folders as you would without ClickOnce.

Peter Mortensen
14.5k19 gold badges89 silver badges118 bronze badges
Brandon GrossuttiBrandon Grossutti
7745 gold badges12 silver badges22 bronze badges

Just in case this helps anyone..

My problem was specifically that I had a dependant 'Class Library' project that had the 'sign the clickonce manifest' checked but disabled so it could not be unchecked. My solution was to:

  • Convert that project to a windows app,
  • Re-open the properties panel,
  • Remove the click once manifest signing from the signing tab on the properties panel,
  • Convert the project back to a 'Class Library'.

I consider it an MS bug (still in VS2019 16.0.1 which I'm using now) but the workaround fixed it.

Good Luck!

How To Remove Clickonce Application On Mac

TonyT_32909023190TonyT_32909023190

How To Remove Clickonce Application Windows 7

Not the answer you're looking for? Browse other questions tagged c#.netwinformsclickonce or ask your own question.

Active1 year, 4 months ago

Since ClickOnce installs per profile rather than per computer, is there any way to uninstall a single ClickOnce client application from multiple profiles at the same time?

We have a ClickOnce application that we would like to remove and re-install using a standard MSI, but we don't want to have to log in as each user to do the uninstall.

Jan 29, 2018  Download Mac OS X Leopard DVD 10.5 ISO is the latest version which includes general operating system fixes that enhance the stability, compatibility and security of your Mac. There are many improvements and fixes in Mac OS X 10.5 Leopard Onstall DVD – Full ISO Image (update) including to Address Book, AirPort, Client management, iChat, Graphics, Mail, MobileMe, Networking, Printing. Free mac 10.5 download. Aug 21, 2018  Download the OS X 10.5.8 ISO/DMG files. Convert the DMG files to ISO files. Now burn the ISO files in bootable DVD. Now you have the boot disk. Now go to the boot menu and install the Mac OS X Leopard ISO on your PC. If there occurs any problem then. Jan 26, 2016  Here is Mac OS X 10.5 Combo Update, which is Apple’s suggested update for those customers running Mac OS X Leopard 10.5.0. Lets look how we can do Mac OS X 10.5 Free Download in this article. Mac OS X 10.5.0 includes general operating-system fixes that boost the stability, compatibility and security of the Mac. Mac OS X Leopard DVD 10.5 Full Version Crack download is now with simple and easy steps with the direct download link. Mac OS X 10.5 Download Free Full Version is a necessary download for Leopard lovers. Download Free Mac OS X Leopard DVD 10.5 ISO with all requirements.

Assuming there isn't anything baked in, is there a custom tool?

Peter Mortensen
14.5k19 gold badges89 silver badges118 bronze badges
HowAaronAaron
1,0981 gold badge11 silver badges20 bronze badges

1 Answer

You could manually delete the ClickOnce install for each user. I haven't tried doing this on a large scale, so use at your own risk. However, these steps should get rid of a ClickOnce app.

  • Delete the deployed files. On my machine, the path to my ClickOnce deployed files is, %UserProfile%AppDataLocalApps2.0. If you delete everything under this folder, it will delete all ClickOnce applications. Obviously, you'd need to do this for each user profile.

  • Delete the start menu shortcut. Again, this needs to be done for each user profile.

  • Now all that's left is an entry in Add/Remove programs. I think removing this is optional since it doesn't really hurt anything, but to get rid of it you can delete registry entries. Go through the users under HKEY_USERS and delete this key, SoftwareMicrosoftWindowsCurrentVersionUninstall[random string associated with your app].

codeConcussioncodeConcussion
11k8 gold badges44 silver badges56 bronze badges

How To Uninstall Clickonce App

Not the answer you're looking for? Browse other questions tagged clickonce or ask your own question.