卸载应用程序时打开反馈页面 [英] Open feedback page when uninstall the application

查看:115
本文介绍了卸载应用程序时打开反馈页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..朋友,我已经使用Visual Studio 2008开发了我的c#窗口应用程序的安装程序.我安装了该程序,并且可以正常工作.但是我希望,如果用户从他/她的计算机上将其卸载,那么它将重定向用户在我的网站上以了解他/她的反馈.

怎么可能.如果有人有什么想法请帮助我.

谢谢与问候
Parveen Rathi

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

推荐答案

这将为您提供帮助
C#-安装和卸载软件 [
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
private void uninstallSoftware()
{
    Process p = new Process();
    p.StartInfo.FileName = "msiexec.exe";
    p.StartInfo.Arguments = "/x \"C:\\Application.msi\"/qn";
    p.Start();
}


这篇关于卸载应用程序时打开反馈页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆