The InstallShield script language is similar to the C language. You can use the InstallShield wizard or template to generate a BASIC script framework. You can modify and add the script as needed. I. basic syntax rule 1. the Boolean value of the variable BOOL is TRUE (1) or FALSE (0). The length of a single-byte CHAR character (8 bit) the HWND window handle is used to store the two-byte integer LIST type of the window handle INT integer to the InstallShield LIST, use ListCreate and ListDestroy LONG to extend the numeric LPSTR extension pointer NUMBER to store four-byte LONG values, from-2147483648 to + 2147483647 POINTER type SHORT numeric STRING type is very similar to the LPCTSTR variable in VC as the standard C language. It must be known before use. Variables are generally known in two locations. One is outside the main program. Such variables are global variables, and the other is the variable name area of each function. Such variables are local variables. 2. generally, operators are the same as those in C language. I will not explain them here. The following describes special operators, (1) + ,-,*, /The above four operators have the same meaning and usage as the C language. (2) & operation, which is the same as that in C language, for example, x1 & x2 (3) | or operation, which is the same as that in C language, for example: x1 | x2 (4 )! Non-operation. It is used in the same way as in C. For example :! X1 (5) * pointer operation, similar to * (6) &, |, ^, ~ in C ,~, <,> Is bitwise AND, bitwise OR, bitwise OR, bitwise inversion, left shift, and right shift. Their meanings and usage are basically the same as those in C. (7 ). this operator is used for structure to obtain the subitem of the structure, which is different from that of Delphi. usage is similar, for example: typedef SETTINGSREC begin www.2cto.com BOOL bSwitchOn; STRING szMssg [255]; INT nVal; end; SETTINGSREC settings; program settings. bSwitchOn = FALSE; settings. szMssg = "Off"; settings. nVal = 0; (8) = can be used as both a value and an equal sign, for example, str1 = "String"; if str1 = "String" then endif; (9) &