Invoke-Goto
Invoke-Goto
Jumps to a location within the current installation package. Invoke-Goto can be used in conjunction with the Set-Label command to change the sequential processing of an installation package.
Settings:
- Name of the label
Name of the label at which the script execution should be continued. You can select an existing marker from the drop-down list or enter the marker name manually. The special label $$BeginUninstallScript is always present. - Also execute during uninstallation
If this option is enabled, the jump to the specified label is also executed when the package is uninstalled.
Example:
The following statement resumes script execution at the LOOP marker within the script.
Corresponds to DSM eScript command:
- Goto
See also: