The SQL Scripts are executed right before the "InstallExecuteSequence" -> "RegisterTypeLibraries" standard action. "InstallODBC" runs before the scripts and "SelfRegModules" runs after.
Please note that SQL Server Express should be installed as a prerequisite, it shouldn't be installed during the main install process. Advanced Installer has predefined prerequisites for multiple SQL Server Express versions.
FOLLOW US
Get the latest news in Application Packaging