none
C#. How to silently uninstall software components packaged as EXEs? RRS feed

  • Question

  • We have a requirement wherein we need to be able to perform silent installation / uninstallation of software components packaged as EXEs.

    We were able to perform silent installation using WMI.

    However, we are running into trouble while trying to implement the uninstallation functionality. 
    The articles that we have seen so far recomment using the "UninstallationString".
    Some of the softwares that we install do not have this entry in the registryy. 
    How can we perform the uninstallation in such scenarios?
    • Moved by Jiayi Li Monday, September 7, 2015 8:41 AM
    Friday, August 28, 2015 6:43 AM

Answers

All replies

  • Hi Madhav Krishnan,

    Thank you for posting in MSDN forum.

    This forum is about .NET Framework Setup and Servicing, I'm afraid that your issue is not related to .NET. To redirect you to the correct forum, I have some questions below:

    (1) Is this issue related to your C# code? Could you show us your code if it is wrong?

    (2) What is your project type?

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Monday, August 31, 2015 1:57 AM
  • As Jiayi Li said, if you are asking about how to do it in your C# code, you should ask the C# experts here:

    https://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads

    They will want to see the code you've tried.

    Monday, August 31, 2015 2:38 PM