Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get rid of click-once?

I've taken over a project that uses ClickOnce deployment, but we made a decision to drop it and rather do it thru a Nullsoft installer.

I've gone through the project properties and unselected everything that had something to do with ClickOnce, but still the exe file nags me about "Program indentity has not been set" or something like that (the message language isnt english so sorry for possible crappy translation)

Anyone knows how I can get rid of ClickOnce 100% for my application?

like image 589
Jason94 Avatar asked Feb 14 '11 07:02

Jason94


People also ask

How do I turn off ClickOnce?

To disable ClickOnce security settingsClick the Security tab. Clear the Enable ClickOnce Security Settings check box.

How do I uninstall one click app?

To uninstall a ClickOnce application, users can go to the Control Panel and launch the "Add or Remove Programs" application. In the "Change or Remove Programs" section, users then select the application to uninstall and click the Change/Remove button.

How does ClickOnce work?

ClickOnce allows you to deploy windows based applications to a client system using the web or file server. The application files are placed on the web or FTP site or local share and the user is provided with a link in case of web and FTP deployment.

Is ClickOnce still supported?

ClickOnce and DirectInvoke are supported out of the box for all Windows users. Users that want to disable ClickOnce support can go to edge://flags/#edge-click-once and select Disabled from the dropdown list.


2 Answers

You can uncheck the box in the Security tab of your project properties that says "Enable ClickOnce security settings" and uncheck the box in the Signing tab that says "Sign the ClickOnce manifests." I suppose you could blank out the info in the Options dialog as well.

Note that none of the ClickOnce stuff is used unless you actually publish your application, so having it in there doesn't hurt anything.

like image 128
RobinDotNet Avatar answered Sep 28 '22 07:09

RobinDotNet


The best way would probably be to create a new clean solution and copy the needed source files in there.
Also if there's some traces left you can see those when building, you'll get errors.

I've never used it, but I think you should firstly remove the references to it in the project, and you should check the publish tab in the properties of the project.

like image 23
Aidiakapi Avatar answered Sep 28 '22 07:09

Aidiakapi