SQL Prereq Install similar to ClickOnce - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Lightor
Posts: 2
Joined: Fri Dec 14, 2012 11:32 am

SQL Prereq Install similar to ClickOnce

For a long time I was using the default publisher from Visual Studio. But I've since moved to Advanced Installer (obviously) and I love it. The one thing that bothers me is how it handles the prereq of SQL Server Express. In Advanced Installed it opens the normal install file. The ClickOnce app would ask to accept the terms and agreements then download with a download bar, then install with and install bar, 0 interaction needed from the user. Is there anyway to take the install style of prereqs from the Visual Studio and somehow work that into Advanced Installer?

Thanks in advance for any help!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL Prereq Install similar to ClickOnce

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid we don't have support for this. However, if you want to have an unattended SQL Server prerequisite installation you can use, in the "Prerequisites -> Setup Files -> Install Command Lines" group, a command line like this:

Code: Select all

/q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /INSTANCENAME=SQLSERVER /ROLE=AllFeatures_WithDefaults /ADDCURRENTUSERASSQLADMIN=TRUE /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /FEATURES=SQL
Also, you can take a look on the following links:
- MS SQL Server as prerequisite
- Installing SQL Server 2008 Using a Configuration File

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Lightor
Posts: 2
Joined: Fri Dec 14, 2012 11:32 am

Re: SQL Prereq Install similar to ClickOnce

Great, this is just what I'm looking for, it does it nice and behind the scenes. Only problem is I keep getting an error when it tries to install it. Saying prereqs failed to install properly. Right after it failed I installed it using the clickonce and it worked fine, so I know the system wasn't the issue, maybe one of the commands on the commandline?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL Prereq Install similar to ClickOnce

Hello,

Please keep in mind that on Windows Vista and above, in order to silently install the prerequisites packages the main installation package should run elevated. So, from "Install Parameters" page you should check "Run as administrator" option.

Let us know if this helps, otherwise please give us more details about your scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
maxware
Posts: 3
Joined: Tue Mar 12, 2013 4:17 pm

Re: SQL Prereq Install similar to ClickOnce

Hi,
we have purchased your software two weeks ago.
We have the same problem as reported by Lightor. We need to install sql server express 2012 as a prerequisites in silent mode on win 7 x86/64 bit
We have:
1) set in the command line group (in the first line Full UI, but also in the third the result is the same) this line:
/q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /INSTANCENAME=DOCKEXPRESS /ROLE=AllFeatures_WithDefaults /ADDCURRENTUSERASSQLADMIN=TRUE

2) set the install parameter "Run as administrator"

The result is always "prereqs failed to install properly"

Please give us a solution to this issue becaouse is critical for our installation.

Thanks
best regards
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: SQL Prereq Install similar to ClickOnce

Hello,

You can see a response on "SQLEXPRESS 2012 prerequisite" thread.

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

Return to “Building Installers”