I have a suite installer that presents the user with features that he/she can select for installation. One of the features 'Required SQL Tables' is a SQL database connection that inserts application required records into their database. The scripts will run correctly if its feature is the only one selected. The records that the script inserts are required for all other features to run since the services require SQL for configurations. If other features are selected along side the 'Required SQL Tables' feature, the install will fail since the other features need the 'Required SQL Tables' feature to run first. How would I ensure that the 'Required SQL Tables' feature is always ran first when selected?
I have tried placing the SQL insert scripts in their own .msi inside the suite and adding them as a prerequisite. But for whatever reason the user inputted properties are not being passed to the silent .msi from the suite installer. I know that the order of prerequisites will install in that order. If I could get this working, then I wouldn't have to worry about my previous paragraph's attempt. Help!