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?
To disable ClickOnce security settingsClick the Security tab. Clear the Enable ClickOnce Security Settings check box.
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.
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.
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.
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.
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.
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