Feature-based Installations? - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Feature-based Installations?

Hello,

I am going to build an installer which needs to install SQL Server 2008 Express. I am going to put this in Feature-based install section. SQL Server 2008 Express installation will be automatic as it will be given with command-line arguments. After that the main installer will setup the database based on the settings given. My question is, will it work (setup of database)? Because, a while ago I set .NET framework installation to be Feature-based. But when the .NET application was run at Finish dialog it did not run because .NET framework has not been fully registered yet, because it was installed as Feature-based installation. Will this happen with SQL database setup done by the main installer?

Furthermore, in the Pre-install installation can I set the prerequisites to auto-install and go to the main installer automatically? Because, most users do not like the Pre-install installation method. They wanted to be automated and novice proof.
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature-based Installations?

Hi,

Indeed, ".NET Framework" and "SQL Server Express 2008 R2 SP2" (or later) cannot be added as Feature-based of Post-install prerequisites because they cannot run at the same time with the "msiexec.exe" process. However, you should be able to add "SQL Server 2008 Express" as a feature-based prerequisite without any problem.

You can set the Pre-install prerequisites to be installed automatically, by setting the appropriate command line for them in the command line fields from the "Setup Files" tab.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Feature-based Installations?

Hello,

I understand. In this case, can I do the following,

I create an installer with .NET framework in it. It will check and install it. Then the second installer with SQL Server Express in it. Add these as chained packages to the main installer.

Will this work?

:?:
K
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Feature-based Installations?

To explain my question clearly,

Can I add the prerequisites in different installers and make them chained installation, will this work?

For example:

1st Installer: .NET Framework 4.5
2nd installer: SQL Server 2012 Express SP1
3rd installer: Main Installer

3rd installer will have the 1st and 2nd Installers as chained package. So will this work?
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature-based Installations?

Hi,

I'm afraid that this will not work. If you add the 1st and 2nd installers in the main installer as chained packages, then the .NET and SQL software will be installed while the "msiexec.exe" process of the main installer is started, but .NET does not support this.

So, I'm afraid that the only way to install .NET prerequisite is to add it as pre-install. However, as I already mentioned, you can automate its installation by installing it completely silent, so the Pre-install dialogs will not be displayed to the end-users.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Feature-based Installations?

Eusebiu wrote:you can automate its installation by installing it completely silent, so the Pre-install dialogs will not be displayed to the end-users.
How to do this please? I understood the part about using command-line arguments. But how to hide the Pre-install dialog? The dialog that lists the prerequisites.
K
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature-based Installations?

Hi,

In order to hide the Pre-install dialog, you can go in the "Dialogs" page, "Bootstrapper UI" section and select the "Silent install (no UI)" option from the "UI Level" combobox.

Also, you need to check the "Run as administrator" option from the "Install Parameters" page, in order for the prerequisite to have installation rights.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature-based Installations?

You're welcome. I'll look at your other topics and try to answer you.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Re: Feature-based Installations?

Thanks again.

:D
K

Return to “Common Problems”