From 79ef9770627f18207b46d9afbfa75f9d51e6cb1d Mon Sep 17 00:00:00 2001 From: Kaloyan Enimanev Date: Thu, 8 Sep 2011 12:59:01 +0200 Subject: [PATCH 07/10] bugfix: it was not possible to omit the creation of uninstaller with --- .../java/com/izforge/izpack/api/data/Info.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/izpack-api/src/main/java/com/izforge/izpack/api/data/Info.java b/izpack-api/src/main/java/com/izforge/izpack/api/data/Info.java index 0bf3753..319280d 100644 --- a/izpack-api/src/main/java/com/izforge/izpack/api/data/Info.java +++ b/izpack-api/src/main/java/com/izforge/izpack/api/data/Info.java @@ -96,6 +96,11 @@ public class Info implements Serializable private String webDirURL = null; /** + * whether an uninstaller should be created at all + */ + private boolean writeUninstaller = true; + + /** * The uninstaller name */ private String uninstallerName = "uninstaller.jar"; @@ -627,4 +632,15 @@ public class Info implements Serializable { return tempdirs; } + + public boolean isWriteUninstaller() + { + return writeUninstaller; + } + + public void setWriteUninstaller(boolean writeUninstaller) + { + this.writeUninstaller = writeUninstaller; + } + } -- 1.7.4.1