Go to a label | |
This custom action action transfers the package execution to the statement marked by the specified label. To mark a statement, you must first declare the label using the "Define a label" custom action. See an example below:
Once you have opened the editor, you can select the name of the existing label in the list (labels must have been previously defined, remember) and press OK.
Example of using Go to labelOn this screenshot you can see an example of the use of "Define a label"/"Go to a label" custom actions. We ask end users for their name and create a kind of loop: they will be prompted to enter their name until they answer a non-blank value.
This can be used to check values provided by users (folders, etc...), to jump to specific blocs of instructions when a condition is not met, etc...
Paquet Builder Help - Copyright © G.D.G. Software. All rights reserved. |