Link to home
Start Free TrialLog in
Avatar of Thomasian
ThomasianFlag for Philippines

asked on

InstallShield SQL Server Express ConfigurationFile installation

I would like to install SQL Server Express as a prerequisite along with my application.

But I would like to silently install it using a configuration file.
http://msdn.microsoft.com/en-us/library/dd239405.aspx

How can I make that work with InstallShield?
ASKER CERTIFIED SOLUTION
Avatar of Vadim Rapp
Vadim Rapp
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
(clarification) - in your case it will be not 2005 but 2008; then you right-click it in the middle column, and select "edit"; on the tab "application to run", specify the parameter describing your configuration file.
Avatar of Thomasian

ASKER

Thanks. I knew about the command line installation. I just thought that it would be easier with the configuration file.

Thanks
You can do it with configuration file this way - by specifying parameter

/ConfigurationFile=MyConfigurationFile.INI

and placing MyConfigurationFile.INI in the same directory as setup.exe (subject to verification if it will be found there).
Actually, I tried that. But I put the single exe installer (i.e. SQLEXPRWT_x86_ENU.exe) instead. When I run the installer, it is looking for the configuration file on the extracted folder instead of the installation folder which is where the configuration file is located.
Try [SOURCEDIR]MyConfigurationFile.INI (subject of experimentation, also whether or not to put the \ or it's already in the property).
I will give that a try when I had spare time. I already got it working by supplying all parameters through command line. I will just leave it at that for now.

Thanks again.
If/when you try, please post the result here, so it stays in the knowledge base. Will be useful for future visitors.