通过卸载安装项目删除Application文件夹 [英] Remove Application folder by uninstalling setup project

查看:59
本文介绍了通过卸载安装项目删除Application文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



我有wpf应用程序,我已经为此创建了安装项目。



在我的应用程序中,一些文件和文件夹正在运行时在应用程序文件夹中创建



现在我想要在卸载该应用程序时删除该文件夹和文件,实际上我想要卸载时删除应用程序的文件夹



谢谢。

Hello frnds,

I have wpf application and I have created setup project for that.

In my application some files and folders are creating at runtime in application folder

Now I want delete that folders and files while I uninstall that application, In fact I want to delete the folder of application while uninstalling

Thanks.

推荐答案

你好可以试试
使用设置项目的自定义动作功能。



http ://msdn.microsoft.com/en-us/library/d9k65z2d(v = vs.80).aspx [ ^ ]



添加自定义操作卸载并执行删除文件夹的设置。
Hi you can try using custom action feature of set up project.

http://msdn.microsoft.com/en-us/library/d9k65z2d(v=vs.80).aspx[^]

add custom action for uninstall and do settings for Remove the folder.


这篇关于通过卸载安装项目删除Application文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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