isaolmez
Posts: 8
Joined: Tue Jun 26, 2012 11:27 am

MS SQL Server as prerequisite

Hi,
I want to install MS SQL Server 2008 as prerequisite. In Prerequisites/Setup Files tab I have selected the exe and added additional files of SQL Server. The main installer is "EXE setup with resources next to it"

In Silent(No UI) text field, I have entered "/ConfigurationFile="ConfigurationFile.ini"", to install with a configuration file. This configuration file is also in additional files list. But when i launch exe, it opens default installation steps and does not see conf file. The original command is "setup.exe /ConfigurationFile= ConfigurationFile.ini" taken from MSDN site.

I have tried "setup.exe /ConfigurationFile="ConfigurationFile.ini"" , "/ConfigurationFile="C:\ConfigurationFile.ini"" (absolute path) and other combinations but it did not work. I could not give file reference from "Files and Folders" menu and cannot give extraction path since there is none.

I think the problem is because of command line, I have looked http://www.advancedinstaller.com/forums ... 07&start=0, but no luck.

What is the correct syntax and way of achieving silent install of SQL Server 2008?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: MS SQL Server as prerequisite

Hi,

The correct command is this ""/ConfigurationFile="C:\ConfigurationFile.ini""", as long as the INI file is in the same directory with the EXE setup package.

Also, have you checked the extraction path while the package installing to see what happens? You can also set the same command line for full UI for example, to see how it behaves in that case.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
isaolmez
Posts: 8
Joined: Tue Jun 26, 2012 11:27 am

Re: MS SQL Server as prerequisite

Thanks Bogdan,

I have moved configuration file to the folder where exe setup is located. And I also copied the command to the Full UI field. SQL Server setup screen showed up and configuration file values are in specified input fields.

However, I could not achieve silent install, I must follow the steps with the values coming from configuration file. How can I extend this command to silent install? What can be the problem?
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: MS SQL Server as prerequisite

Hi,

Maybe this article can help you for sillent installation of MS SQL Server 2008.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Thunder
Posts: 3
Joined: Fri May 17, 2013 11:06 am

Re: MS SQL Server as prerequisite

I test Advanced Installer and I also have problem with silent installation MS SQL Server 2008.

I've done ConfigurationFile.ini and *.bat file follow: http://www.codeproject.com/Articles/113 ... nt-Install

When I'm starting *.bat MS SQL Server is installed silent like I want, but when I try do this in Advanced Installer doesn't want to work and open a normal installer in UI.

In "Media" the Package Type is: EXE setup with resources next to it.
In "Prerequisites" I've added: SQL Server 2008 R2 Express SP2 to Pre-install.
In SQL Server 2008 R2 Express SP2 in "Setup Files tab" to Additional Files I've added file ConfigurationFile.ini which is in .. Prerequisites\SQL Server 2008 R2 Express SP2\ folder
Also to Install Command Lines I've added ""/ConfigurationFile="C:\ConfigurationFile.ini""" in Silent (NO UI)

Can someone help me I thought it was so simple?
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MS SQL Server as prerequisite

Hello,

I'm not sure why you are encountering this behavior. Can you please set the related command line in all fields from "Install Command Lines" section and see if the behavior still persist? If so, can you please send us the .aip (project file) and the related configuration file to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”