clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Dialog Pub. Event: "Install one or more features locally"

Hello,

I am using AI 11.0 on W7

I re-did my AI project to use the Dialog's Published Event: "Install one or more features locally", instead of using my own defined properties and setting the condition for each component to be installed under different Install Modes (which worked for many years).

I used as guidelines, the project created by the AI Wizard for Client-Server Installation, and expected that only the Feature selected in the "Install one or more features locally" would be installed.

However, all Features get installed. I thought I must not be understanding something.

So I used the Wizard's created project and added one text file called "Client.txt" to the client folder, one called "Server.txt" to the "Server" folder and one called "Common.txt" to the "Common" folder.

When at Installation I select "Server", it installed all three files, instead of just "Server" and "Common".

This is what is happening in my project.


So, something must be missing there, or I am not understanding something.

Thank you!

clint
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Dialog Pub. Event: "Install one or more features locally

I guess I did misunderstand something.

I thought I could conditionally install only certain parent features and their child features like this, excluding all others.

That seems to be not what the condition is for.

Sorry.

clint
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Dialog Pub. Event: "Install one or more features locally

I had overlooked in the Installation Behaviour of the Feature property page the "Add install-time condition" button.

clint
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Dialog Pub. Event: "Install one or more features locally

Hi Clint,

The "Install one or more features locally" published event can be used to install a feature even if it is not set for installation in the "Organization" page or it was not checked by the user from the "CustomizeDlg" dialog, but it cannot be used to conditionally install only some feature and not install others. This can be achieved from the "Organization" page.

Let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”