winformsvisual-studio-2013sql-server-2012installshield-2010

Deploying SqlLocalDb 2012 using Installshield


I've made a simple application using windows forms that uses SqlLocalDb 2012, I want to create an installation file using InstallShield that should check wether SqlLocalDb 2012 is installed or not, if not I want to silent-install it to the client machine.

I couldn't figure out the way to check and include the SqlLocalDb msi(es) to my installation project.

It's the first time I use InstallShield and I couldn't find any tutorial that would guide through the process. Any suggestions?

Thank you in advance.


Solution

  • The approach I would suggest depends on your project type, but the first approach below fits most cases pretty well.

    In all cases you will need to know how to detect the package; for .msi packages this is typically pretty straightfoward, but it may depend on the vendor's servicing mechanisms whether you should look for a product code, an upgrade code, or some other artifact.