开发者

izpack installer customize uninstaller

I have created installer and uninstaller using izpack. The problem I am facing is when I unisntall it remove everything I have installed. I would like to customise my uninstaller according to my configuration because I need to keep fee files and remove the rest when I run my unisntaller. As long as开发者_开发知识库 I have understand and study about izpack, the default behaviour of unistaller is, it remove everything what installer has install. So is there any way we can customise uninstaller and how. Thanks


Define uninstall=no under your pack tag, the value of uninstaller attribute give you freedom to choose your pack attach with uninstaller or separate it. Following is the sample code for this:

<pack name="Client Solution" required="no" uninstall="no">


izpack is open source. Get its source and change the uninstaller class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜