0

I have a question and I need help solving an issue. I have an installshield 2016 installation and I want to allow the user to either select an existing SQL Server database (and then the installation will create the app db schema on this sql server) or ask the installation to install SQL server express - and then the installation should install the database locally and then install the app db schema on the newly created express database . I tried to have the installation of the sql server express runs as a custom action before the actual installation begins but I couldn’t find how to do it (as no file has been copied yet and the installation cannot locate the mssql setup). Has anyone done something similar? Do you have an idea how can I achieve something like that?

3
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Commented Jul 1 at 20:56
  • For the SQL Server Express install you would be better served pre-installing the SQL Server Express bits. You can automate this in a batch file or put it into your bootstrapper (setup.exe). Generally it's a bad idea to install another application within your MSI. Or, just require it as part of the InstallConditions and force the user to make sure it's there. Commented Jul 2 at 2:49
  • Try installing SQL server express through .prq file in installshield redistributable section. Commented Jul 31 at 13:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.