Error C8004
InstallShield 2024 » InstallScript Language Reference
Message
'name' : identifier already declared
Description
The identifier specified by name has already been declared in the current block. Identifiers can be declared only once in the same block.
Troubleshooting Information
Examine the main program block or function block where the error occurred to find the first declaration of the identifier. If the second declaration is simply a duplicate of the first, delete it. If you intended the second declaration to be a different variable than the first, rename the identifier in the second declaration and update all statements in the script that reference it.
If you cannot find a previous declaration of the variable, you may be declaring an identifier whose name is reserved in InstallScript. Reserved words are syntax colored in the script editor.
See Also