0
votes

I want to control the execution order of service installation/start and SQL script execution in InstallShield 2011 for a MSI installer project.

Right now first the windows service is installed and started by the setup. Afterwards the SQL scripts are executed. Since the windows service relies on the database created by the SQL scripts I would be great if the service is installed after the database was created.

Can I change the order of what is done by the MSI installer created by an InstallShield 2011 project?

1

1 Answers

2
votes

If I remember correctly, the Custom Actions and Sequences view in InstallShield provide this option. If that's the case, you should only tweak the sequence of those two actions. Alternatively, you always have a Direct Editor option where you can modify the MSI InstallExecuteSequence and InstallUISequence tables.