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!

iperic3
Posts: 2
Joined: Tue Oct 09, 2012 6:41 pm

Client App, Sql Server+Database, Complete features

Hello,

I'm evaluating your product, and need some help:

I'm trying to create installer with 3 options:

1. Install only client application (.net 4.0)
2. Install only Sql Server 2008 R2 and database (I need options to install database to existing server instance or install new server instance and database)
3. Install both above.

What is best way to do this?

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

Re: Client App, Sql Server+Database, Complete features

Hello and welcome to Advanced Installer forums,

In order to achieve what you want you can use our "Client/Server Application" template from "Start Page" -> "Installer" section. Then, in order to conditionally install features from "Organization" page you can take a look on our "Show a custom feature selection dialog" article.

Also, you can take a look on our "Creating Database Instance" article.

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
iperic3
Posts: 2
Joined: Tue Oct 09, 2012 6:41 pm

Re: Client App, Sql Server+Database, Complete features

Thanks, I made some progress on this. Now I have problem with SQL Server 2008 R2 Express with SP2 install. I found on internet that it cannot be installed as feature based install (I saw this by myself), because sql server installer hangs on some point waiting for something:

2012-11-03 15:38:07 Slp: Running Action: Install_sql_engine_core_inst_Cpu32_Action
2012-11-03 15:38:07 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2012-11-03 15:38:07 Slp: Sco: Attempting to open registry subkey
2012-11-03 15:38:07 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\9.0
2012-11-03 15:38:07 Slp: Sco: Attempting to get registry value InstallDir
2012-11-03 15:38:07 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
2012-11-03 15:38:07 Slp: Sco: Returning service status Running
2012-11-03 15:38:12 Slp: Sco: Returning service status Running
2012-11-03 15:38:17 Slp: Sco: Returning service status Running
2012-11-03 15:38:22 Slp: Sco: Returning service status Running
2012-11-03 15:38:27 Slp: Sco: Returning service status Running
....

You can find more information here:
http://connect.microsoft.com/SQLServer/ ... etup-issue

As you can find on this link, issue is not present on SQL Server 2008 R2 with SP1...
Can we do anything to fix this kind of issue?

Thanks in advance,

Ivica
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Client App, Sql Server+Database, Complete features

Hi Ivica,

Another option would be to add it as a post-install prerequisite. So it would install after the main packages has finished. And for installing the database after the SQL Express installer you would create a separate package with Advanced Installer and add that too as post-install prerequisites, after the one of SQL Express.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”