is there anny possibility to execute a sql-script at the beginning and save the return value in a property?
I want to change the dialog depending on the return-value from my sql-script.
At the end, the other sql-scripts should be executed.
Hello and welcome to the Advanced Installer Forums,
Unfortunately running an SQL Script can be done using an ODBC connection first, thus not earlier then the "InstallODBC" standard action. Here is an example from our user guide of what I mean.
If you need to run SQL Scripts in the "InstallUISequence" you will need to do so from within your own custom action. If you have already installed and ODBC driver then all you need to do is create the custom action that refers to that driver and handles the data. Otherwise you will need to create the whole ODBC connection mechanism from within your custom action.
FOLLOW US
Get the latest news in Application Packaging