View Full Version : How install SQL server 2008 with my project
08-25-2009, 04:26 AM
I would like to install SQL server 2008 with my project, but I've not fond where to select it. I found where to add the good framework but concerning SQL server there's nothing.
Where must I select it?
Thanks for your help
08-26-2009, 10:46 AM
The Microsoft SQL Server 2008 Express SP1 setup prerequiste is available in the Redistributables section. You need to simply mark the check box to include it in your setup.
Hope that helps.
09-20-2009, 07:03 AM
I have same problem. I would like to install SQL server express with my project.
I don’t need to install SQL server every time, because user can select new SQL server or select another in network.
I tried to install SQL server during installation my product – I run installation with some parameters, but it don’t happen well (msiexec cannot run more then one).
Can I set the condition to prerequisite? And install it after finish my installation?
How can resolve problem with installation .NET, Windows Installer?
09-21-2009, 10:43 AM
If you want to install the Microsoft SQL Server Express based on end user's inputs, you may want to consider using the feature prerequisite. Please see the Associating an InstallShield Prerequisite with a Feature in a Basic MSI Project help topic (http://helpnet.acresso.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield16helplib/AssociatingPrereqsFeatures.htm) for more information.
09-23-2009, 07:40 AM
Thank you for help, but this solution is for MSM packages, don’t for EXE.
I resulted it that I run installation SQL server in custom action in part: “Install UI sequence: After setupProcess”.
sParam = "INSTANCENAME=MYSQL SECURITYMODE=SQL ADDLOCAL=SQL_Engine SAPWD=Password SQLAUTOSTART=1 DISABLENETWORKPROTOCOLS=0";
if (LaunchAppAndWait(sExe, sParam, WAIT) < 0) then
MessageBox( "Instalation SQL server error", SEVERE );
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.