I think I found a bug with multi-line comments and SQL scripts in InstallShield 2010.
To reproduce the bug, create a basic MSI project. Go to Installation Designer -> SQL Scripts, create a SQL connection then add a new script that contains the following script:
/*
USE [master]
GO
*/
USE master
GO
Build the MSI and try to install it, you will receive the following MSI error:
Error 27506.Error executing SQL script sqlscript.sql. Line 3. Missing end comment mark '*/'. (113)
Changing the multi-line comment to -- form will solve the issue. Also, if the end comment mark is not being preceded by a GO statement, the install will not fail. For instance:
/*
THIS
WILL
NOT
FAIL
*/
Has someone experienced this bug? Any way to "fix" it?
PS: I'll be posting this to Flexara's forum.