installtoolkit
Class WindowsInstallerTask

java.lang.Object
  extended by Task
      extended by installtoolkit.InstallerGeneratorTask
          extended by installtoolkit.WindowsInstallerTask

public class WindowsInstallerTask
extends InstallerGeneratorTask

Author:
Christian Elberfeld

Field Summary
protected  java.io.File bannerbitmap
           
protected  java.util.List<Pattern> configfiles
           
protected  java.util.List<Shortcut> desktopshortcuts
           
protected  java.io.File dialogbitmap
           
protected  java.io.File exclamaticicon
           
protected  java.io.File infoicon
           
protected  Path lib
           
protected  java.io.File licensefile
           
protected  java.lang.String licensefontfamily
           
protected  int licensefontsize
           
protected  Path loc
           
protected  java.io.File newicon
           
protected  Path src
           
protected  java.io.File srcdir
           
protected  java.lang.String startmenuefolder
           
protected  java.util.List<Shortcut> startmenueshortcuts
           
protected  java.lang.String upgradecode
           
protected  java.io.File upicon
           
protected  java.io.File wixdir
           
 
Fields inherited from class installtoolkit.InstallerGeneratorTask
debug, descriptor, DESCRIPTOR_NAMESPACE, destdir, email, license, longDescription, manufacturer, packageName, schema, shortDescription, validate, version, workdir
 
Constructor Summary
WindowsInstallerTask()
           
 
Method Summary
protected  void build()
          The build() method must be overridden by the concrete install-builder classes.
 Path createLib()
          WiX Library Files
 Path createLocalisation()
          WiX Localisation Files
 Path createSrc()
          Additional WiX source files
protected  void readWindowsTag(Element root)
          This method should be overridden if the task needs informations from the <Win> element of the descriptor file.
 void setBannerbitmap(java.io.File bannerbitmap)
          Alternative bitmap file to use as banner
 void setDialogbitmap(java.io.File dialogbitmap)
          Alternative bitmap file to use as background for dialogs
 void setExclamaticicon(java.io.File exclamaticicon)
          Alternative bitmap file to use as exclamation icon
 void setInfoicon(java.io.File infoicon)
          Alternative bitmap file to use as information icon
 void setLicensefile(java.io.File licensefile)
          Alternative RTF file to use as license file
 void setLicensefontfamily(java.lang.String licensefontfamily)
          Alternative fontfamily for generated licensefile
 void setLicensefontsize(int licensefontsize)
          Alternative fontsize for generated licensefile
 void setNewicon(java.io.File newicon)
          Alternative bitmap file to use as icon for new directories
 void setSrcdir(java.io.File srcdir)
          The Source FileSet with the directory structure for the installer
 void setUpicon(java.io.File upicon)
          Alternative bitmap file to use as icon to go up one directory
 void setWixdir(java.io.File wixdir)
          Directory containing the WiX binaries
 
Methods inherited from class installtoolkit.InstallerGeneratorTask
copy, createFilesetFromPatterns, execute, readDebTag, readPatterns, setDebug, setDescriptor, setDestdir, setSchema, setValidate, setVersion, setWorkdir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wixdir

protected java.io.File wixdir

srcdir

protected java.io.File srcdir

bannerbitmap

protected java.io.File bannerbitmap

dialogbitmap

protected java.io.File dialogbitmap

exclamaticicon

protected java.io.File exclamaticicon

infoicon

protected java.io.File infoicon

newicon

protected java.io.File newicon

upicon

protected java.io.File upicon

licensefile

protected java.io.File licensefile

licensefontfamily

protected java.lang.String licensefontfamily

licensefontsize

protected int licensefontsize

src

protected Path src

loc

protected Path loc

lib

protected Path lib

configfiles

protected java.util.List<Pattern> configfiles

upgradecode

protected java.lang.String upgradecode

desktopshortcuts

protected java.util.List<Shortcut> desktopshortcuts

startmenuefolder

protected java.lang.String startmenuefolder

startmenueshortcuts

protected java.util.List<Shortcut> startmenueshortcuts
Constructor Detail

WindowsInstallerTask

public WindowsInstallerTask()
Method Detail

build

protected void build()
              throws java.lang.Exception
Description copied from class: InstallerGeneratorTask
The build() method must be overridden by the concrete install-builder classes.

Specified by:
build in class InstallerGeneratorTask
Throws:
java.lang.Exception
See Also:
InstallerGeneratorTask.build()

readWindowsTag

protected void readWindowsTag(Element root)
Description copied from class: InstallerGeneratorTask
This method should be overridden if the task needs informations from the <Win> element of the descriptor file.

Overrides:
readWindowsTag in class InstallerGeneratorTask
See Also:
InstallerGeneratorTask.readWindowsTag(Element)

createSrc

public Path createSrc()
Additional WiX source files


createLocalisation

public Path createLocalisation()
WiX Localisation Files


createLib

public Path createLib()
WiX Library Files


setWixdir

public void setWixdir(java.io.File wixdir)
Directory containing the WiX binaries


setSrcdir

public void setSrcdir(java.io.File srcdir)
The Source FileSet with the directory structure for the installer


setBannerbitmap

public void setBannerbitmap(java.io.File bannerbitmap)
Alternative bitmap file to use as banner


setDialogbitmap

public void setDialogbitmap(java.io.File dialogbitmap)
Alternative bitmap file to use as background for dialogs


setExclamaticicon

public void setExclamaticicon(java.io.File exclamaticicon)
Alternative bitmap file to use as exclamation icon


setInfoicon

public void setInfoicon(java.io.File infoicon)
Alternative bitmap file to use as information icon


setNewicon

public void setNewicon(java.io.File newicon)
Alternative bitmap file to use as icon for new directories


setUpicon

public void setUpicon(java.io.File upicon)
Alternative bitmap file to use as icon to go up one directory


setLicensefile

public void setLicensefile(java.io.File licensefile)
Alternative RTF file to use as license file


setLicensefontfamily

public void setLicensefontfamily(java.lang.String licensefontfamily)
Alternative fontfamily for generated licensefile


setLicensefontsize

public void setLicensefontsize(int licensefontsize)
Alternative fontsize for generated licensefile



Copyright 2006-2006 null. All Rights Reserved.