The answers are sometimes and it depends.
The InstallScript Language Reference's Data Types and Predefined Structures section outlines the rules for data-type casing and indicates "that some data types can be entered in either lowercase or uppercase letters".
According to the Language Reference, over 2/3 (13 of 18) of the InstallScript data types are case-insensitive to the extent that they can be uppercase or lowercase.
Interestingly these types cannot be mixed-case (i.e. a combination of uppercase and lowercase). For example, String
(versus STRING
or string
) yields the following compile-time error:
Description Error Code
---------------------------------------- ----------
'String': expected typedef (struct) name C8017
Also according to the Language Reference, here are the case-sensitive (just under 1/3 (5 of 18)) data types that can only be uppercase:
BOOL
HWND
LIST
LPSTR
LPWSTR
Entering these data types in lowercase yields compile-time errors like the following:
Description Error Code
---------------------------------------- ----------
'bool': expected typedef (struct) name C8017
Beyond this, whether to use uppercase or lowercase where permitted is a matter of preference.