Search Results for

    Show / Hide Table of Contents

    installTask

    Defines main process to install a software package. Parent Element: LauncherConfig

    Example

    <installTask type="MSI" fileName="Reader.msi" createLocalCopy="true"> 
      <conditions>
        <condition type="Process" resource="Reader.exe" allowed="false" />
      </conditions> 
      <arguments value="MSIPROPERTY1=Value" /> 
      <transforms>
        <transform fileName="Transform.mst" />
      </transforms> 
      <patches>
        <patch fileName="Update1.msp" />
      </patches> 
    <preRun type="script" fileName="pkg\foo.cmd"> 
      <arguments value="-File &quot;c:\test\test file.ext&quot;" /> 
      <successExitCodes>
          <exitCode value="0" />
          <exitCode value="1" />
          <exitCode value="2" />
        </successExitCodes>
      </preRun>
    </installTask>
    

    Attributes

    Attribute Type Description Required Version
    type string Process Types (MSI, MSP, Script, VBS, PowerShell) X ≥1.0.0
    fileName string file name package/script. Path relative from LauncherConfig.xml Several Variables can be used in this attribute. X ≥1.0.0
    createLocalCopy boolean Option to perform a local copy before running main process. ≥1.0.0

    Elements

    Attribute Description Required Version
    conditions Defines preconditions for specified install task. ≥1.0.0
    arguments Defines additional arguments for the install process. ≥1.0.0
    transforms Defines a transform list. Element wird ignoriert, wenn type!=msi ≥1.0.0
    patches Defines a patch list. Element wird ignoriert, wenn type!=msi ≥1.0.0
    preRun Defines a process which is executed before installation process. ≥1.0.0
    postRun Defines a process which is executed after installation process ≥1.0.0
    successExitCodes Defines a list of valid exitcodes for the specified process. Wenn kein successExitCode definiert ist, wir ExitCode = 0 als Success verwendet. ≥1.0.0
    Note

    If you choose MSP as process type, you have to leave the fileName property blank. The msp files can be secified in the patches tag.

    Back to top