none
Removing Registry Key From a ClickOnce Application RRS feed

  • Question

  • I am Registring a Key For a Click Once Application from My Code ,For Version  Change of the application and  key is used to evoke application through url protocol, while removing(unistallling) application the registry key is not deleting from the registry . is there any solution to remove the key while removing the application
    Monday, September 30, 2019 10:16 AM

All replies

  • Hi,

    Indeed, ClickOnce will not remove the keys from the registry when it is uninstalled. You can create a cmd file for it to perform related operations, or create an uninstall option with reference to the following code.

    Create Uninstall option for Click Once Deployed Application.

    Regards,

    Kyle

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 1, 2019 1:11 AM
    Moderator