Search Results for

    Show / Hide Table of Contents

    postRun

    Defines a process which is executed after the main process.

    Parent Element: installTask or uninstallTask

    Example

    <postRun type="script" fileName="postrun.cmd"> 
        <arguments value="-File &quot;c:\test\test file.ext&quot;" /> 
        <successExitCodes> 
          <exitCode value="0" /> 
          <exitCode value="1" /> 
        </successExitCodes> 
    </postRun>
    

    Attributes

    Attribute Type Description Required Version
    type string type (command, script,vbs,powershell). X ≥1.0.0
    fileName string ?This attribute can contain variables X (type=script,vbs,powershell) ≥1.0.0
    command string X (type=command) ≥1.0.0

    Elements

    Element Description Required
    arguments Defines additional arguments for postRun process (script ,vbs,powershell).
    successExitCodes Defines valid success codes for postRun process. Wenn kein SuccessExitCode definiert ist, wir ExitCode = 0 als Success verwendet.
    Back to top