Duplicate prerequisites in the organization tab - Advanced Installer Community
osherk
Posts: 41
Joined: Mon Apr 20, 2015 11:55 am

Duplicate prerequisites in the organization tab

Hi,

How can I avoid the situation of duplicate prerequisites in the organization tab? (I added a screenshot)

In addition, If I delete them, I still get a build error, and I can do nothing except creating a new aip file and create the whole package again...

Thanks!
Attachments
SQL.png
SQL.png (24.32 KiB) Viewed 3903 times
Irina
Posts: 113
Joined: Mon Apr 27, 2015 11:42 am

Re: Duplicate prerequisites in the organization tab

Hi,

I added the same SQL as prerequisites and I cannot reproduce the error.

Can you please tell me what version of AI are you using and on which operating system?

Also, can you provide a step-by-step description of how you reached this point?

Kind regards,
Irina
Ecaterina Irina Grosu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
osherk
Posts: 41
Joined: Mon Apr 20, 2015 11:55 am

Re: Duplicate prerequisites in the organization tab

hi,

I check it on windows server 2008 R2 64 bit.
AI version is 12.0 build 63246.

The steps as I remember are:

1. add a prerequisite of sql 2008 R2 64 bit.
2. add a prerequisite of sql 2012 64 bit.
3. delete the prerequisite of sql 2008 R2 64 bit.
4. add again the prerequisite of sql 2008 R2 64 bit.
5. see duplicates at 'organization' tab.

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

Re: Duplicate prerequisites in the organization tab

Hello,

We have tested the scenario, but we cannot replicate the behavior. Can you replicate this in a new project?

The only way to replicate this configuration in "Organization" page is, after adding the sql 2008 R2 64 bit, by sharing the "AI_EXEPath" component between the main feature and your "SQL Server Express 2008 R2 x64" feature. To share a component you have to select it and, while keeping the [SHIFT] key pressed, drag and drop it under a new feature. A shared component will be installed if at least one of its containing features is selected for installation. So, if you share the "AI_EXEPath" component between multiple features (among which is the "SQL Server Express 2008 R2 x64" feature) then, after removing the related SQL prerequisite, its created feature won't be removed as it is still containing one component. In this case you should manually delete the related feature.

Also, there is no need to add the "AI_EXEPath" component under your prerequisite features.

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

Return to “Common Problems”