Click here to Skip to main content
15,879,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I developed an application using VB.NET and for install it on other computer, you must first install the SQL SERVER.
I use INNO SETUP for compilation
I chose SQL SERVER as a component in the instalation.
This is what I want to do


Run SQL SERVER with code. I've written:

Delphi
[Run]
Filename: {tmp}\SQLEXPR32_x86_ENU.exe; Parameters: "/q:a /c:""install /l/q"""; Check: not IsRequiredDotNetDetected; StatusMsg: Microsoft Framework 4.0 is beïng installed. Please wait... 


The extraction of the file was successful, but when the exection begun I get the following error

SQL Server Setup has encountered the following error:  The argument '/Q:A' is formatted incorrectly.  The delimiter '=' is missing.  Error code 0x84B40006


I found some code on this page
http://msdn.microsoft.com/en-us/library/dd981032(SQL.100).aspx[^]

I tried to integrate the following code but it still does not work again.
Delphi
Filename: {tmp}\SQLEXPR32_x86_ENU.exe; Parameters: "/q /Action=Install /Hideconsole /Features=SQL,Tools   /InstanceName=SQLExpress /SQLSYSADMINACCOUNTS='Builtin\Administrators'  /SQLSVCACCOUNT='<DomainName\UserName>' /SQLSVCPASSWORD='<StrongPassword>'"; Check: not FoundsSql; StatusMsg: SQL SERVER 2008 is being installed. Please wait... 


Can you help me?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900