AJB
Posts: 2
Joined: Thu Sep 27, 2007 9:34 am
Contact: Website

Prerequisites

Hi,

I'm evaluating Advanced Installer and having a problem with prerequisites. The application I am trying to install has a prerequisite of:

MS SQL Server Express 2005.

This, in turn requires both Windows installer 3.1 and .NET Framework 2.0.

As I can only configure a single "Parent Prerequisite" I have configured my prerequisites as follows:

1: Windows Installer 3.1 (no parent)
2: .Net Framework 2.0 (parent = Windows Installer 3.1)
3: Sql Server Express (Parent = .NET Framework 2.0)

When installing on a clean machine (XP sp2) the pre-requisites wizard shows and displays the following:

(Checked) Windows installer for windows, required 3.1 found 3.0 (action install)
(Checked) .Net Framework 2.0, required any, found nothing (action install)
(Checked) Sql Server Express, required any, found nothing (action install)

Windows Installer installs and asks for a restart. System restarts.
After login the installer automatically starts and shows the prerequisites wizard again (as expected)

HOWEVER:-

the first line is now:-

(Checked) Windows Installer for Windows, required 3.1, found 3.1.4000.2435. (action install).

While a user can, of course, uncheck the option to install it, an impatient user will just click OK and the Windows Installer will be installed again

What I would expect to see is the option to be unchecked automatically.

Is this a bug or am I doing something wrong?

I'm using Advanced Installer v5.2.2 (FREEWARE) in enterprise evaluation.
Adriana
Posts: 28
Joined: Tue Aug 14, 2007 9:32 am
Location: Craiova
Contact: Website

Hi,

This will be improved in the next AI version. Until then, for the .NET Framework prerequisite set the parent to "none" and specify the Windows installer 3.1 prerequisite as mandatory ("Force installation of this prerequisite").

Let me know if this fixes the problem.

Best regards,
Adriana
Adriana Simion
Advanced Installer Team
http://www.advancedinstaller.com/
AJB
Posts: 2
Joined: Thu Sep 27, 2007 9:34 am
Contact: Website

Thanks for the reply. In the end I merely did away with the parent options and relied on the install order of the prerequisites.

I'm afraid I don't really understand the purpose of the 'parent' option.

It seems cause the 'parent' prerequisite to be installed even if already exists in a suitable version. Can't really see why that could be required.

Return to “Common Problems”