如何通过命令卸载小工具? [英] How to uninstall a gadget by command?

查看:85
本文介绍了如何通过命令卸载小工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个简单的小工具和一个安装程序包来安装它和一个ActiveX COM对象.

I wrote a simple gadget and a setup-kit to install it and a ActiveX COM object.

但是,我还希望当用户从控制面板卸载此安装程序包时,该安装程序包可以自动卸载小工具.

However, I also want this setup-kit could uninstall a gadget automatically when user uninstalls this setup-kit from the control panel.

其他程序是否可以使用任何补充工具栏命令来卸载小工具?

Is there any sidebar command that can be used by other program to uninstall a gadget?

谢谢!

推荐答案

我不这么认为.我认为最好的方法是以编程方式终止侧边栏进程,删除.gadget文件夹并再次重新加载侧边栏.

Andy
I don't think so.  I would think the best way to do what you're doing is programmatically kill the sidebar process, delete the .gadget folder and reload the sidebar again.

Andy


这篇关于如何通过命令卸载小工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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