Download WiseScript Editor Reference - SymWISE Support Site Maintenance
Transcript
WiseScript Actions 2. Below the While Statement, add one or more actions to perform if the variable has the specified value. 3. Add an End Statement. The sample scripts Division.wse and Application kill.wse use this action. For details on sample scripts, see ScriptHelp.htm in the Samples subdirectory of this product’s installation directory. See also: End Statement on page 77 Win32 System Directory This action puts the path to the operating system directory (%WIN%\System32) into a variable. Alternatively, use the predefined variables %SYS% or %SYS32% to access the system directory. This action is included to provide backward compatibility for older WiseScripts. To complete the dialog box z Variable Name Enter a variable to store the result. Wizard Loop This action precedes dialog boxes that make up the majority of the installation’s end user interface. End users can move forward and backward through these dialog boxes. The script continues executing inside the wizard loop until the last dialog box has been completed and accepted. Use this script action to create the wizard loop. To complete the dialog box z Dialog Boxes Displays a list of the Custom Dialog actions inside the wizard loop structure. Select a dialog box to edit its setting in the bottom part of the Wizard Loop Settings dialog box. z Skip Dialog This lets you set a condition under which a dialog box is skipped. You can set different Skip settings for each dialog box. Example: If one dialog box asks whether to back up configuration files before installing, and the next asks where to store the backup files, you could set a condition on the second dialog box to skip it if the DOBACKUP variable, which is set by the first dialog box, is equal to “NO.” If Variable Build a condition by selecting or entering a variable and by selecting a comparison. The first list shows variables defined in this installation. The second list shows available comparisons. Expression True means the expression in the Value field below is evaluated according to the rules outlined in Variables and Expressions on page 34. The WiseScript Editor Reference 118