<< Click to Display Table of Contents >> Navigation: 3. Script Language > Execute-Commands > Execution Commands |
MiniRobotLanguage (MRL)
EXU. Command
Execute Uninstall
Intention
This command is be used to start an Uninstallation, just like if you call "Startmenu/Controlpannel/Programs/Uninstall".
It will retrieve the complete Application name and start the Uninstallation.
Standard-Search Pattern can be used.
Please be careful using Patterns, as the first fitting Uninstall-Entry is started.
If you want to wait until the started process ends, use WPT. - Wait-Process-Termination. with the PID that has been delivered by EXU. in #pid#.
' Wait until the started application ends
VAR.$$LNK=Paint 1.54
EXU.$$LNK|s
WPT.#pid#
ENR.
Syntax
EXU.P1[|P2]
Parameter Explanation
P1 - Application to start uninstall/modify
P2 - letter specifies what to look for. Details see below.
s - return command-line for silent Uninstallation
u - return command-line for standard Uninstallation.
m - return command-line for standard Modify-Path
(Add-/Remove Setup)
a - return Standard Application Name
Example
'**********************************************
' EXU. - Sample
'**********************************************
DBM.2
'PRT.==========================================
: §§MYA=quote|u
GII.§§MYA|§§NAM|a
PRT. Application-name is: §§NAM
EXU.§§NAM
PRT.===========================================
:over
MBX.Halt to read output
END.
Remarks
The command works transparently with both x32 and x64 applications.
Technical remark: EXU. uses asynchronous Shell- / Create-Process-Technology and is compatible with other commands that use this technology.
Limitations:
-
See also:
• IAI. / NAI. - If-Application-Installed
• GII. - Get-Installation-Information
• EXF. - Execute File/Document