Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 izpack 创建了安装程序和卸载程序。我面临的问题是当我卸载它时会删除我安装的所有东西。我想根据我的配置自定义我的卸载程序,因为我需要保留费用文件并在运行我的 unisntaller 时删除其余文件。只要我对 izpack 有所了解和研究,unistaller 的默认行为是,它会删除安装程序已安装的所有内容。那么有什么方法可以自定义卸载程序以及如何自定义。谢谢
在你的包标签下定义 uninstall=no,uninstaller 属性的值让你可以自由选择你的包附加到卸载程序或分离它。以下是此示例代码:
<pack name="Client Solution" required="no" uninstall="no">
izpack 是开源的。获取其源代码并更改卸载程序类。