Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.. friends I have developed a setup of my c# window application using visual studio 2008. I install it and it is working fine. But I want that if user uninstall it from his/her computer then it redirect the user on my website to know about his/her feedback.

How it will be possible. If anybody has some idea please help me.

Thanks & regards
Parveen Rathi
Posted

1 solution

This will help you
C# - Installing and uninstalling software[^]


In this solution at following stage before P.start() you can open internet explorer using process(as used follow) and call your webpage
C#
private void uninstallSoftware()
{
    Process p = new Process();
    p.StartInfo.FileName = "msiexec.exe";
    p.StartInfo.Arguments = "/x \"C:\\Application.msi\"/qn";
    p.Start();
}
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900