uninstallTask
Defines main process to uninstall a software package. Parent Element: XML Syntax Launcher.exe.config
Example
<uninstallTask type="MSI" fileName="Reader.msi">
<conditions>
<condition type="Process" resource="Reader.exe" allowed="false" />
</conditions>
<arguments value="MSIPROPERTY1=Value" />
<preRun type="script" fileName="pkg\foo.cmd">
<arguments value="-File "c:\test\test file.ext"" />
<successExitCodes>
<exitCode value="0" />
<exitCode value="1" />
<exitCode value="2" />
</successExitCodes>
</preRun>
</uninstallTask>
Attributes
Attribute |
Type |
Description |
Required |
Version |
type |
string |
Process Types (msi,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 |
Elements
Element |
Description |
Required |
Version |
conditions |
Defines preconditions for specified install task. |
|
≥1.0.0 |
arguments |
Defines additional arguments for the install process. |
|
≥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 |