Install on of feature-based prerequisites based on condition - Advanced Installer Community
Codename K
Posts: 479
Joined: Fri Jan 29, 2010 3:04 pm

Install on of feature-based prerequisites based on condition

Hello,

In my installer there are two feature based prerequisites. One is "Use files from disk" and the other is "Download single file from URL". One these will run when the installation is taking place. I am running an inline script custom action which will pass a value either "0" or URL link to a installer file. This works fine. The property gets the value correctly. When I added the two feature based prerequisites it automatically created two new features, each for one prerequisite in the Organization pane.

During the installation only one prerequisite needs to run based on the property value. If it is "0" then run the built-in prerequisite else if it is URL then run the prerequisite which will download and install. I set PROPERTY_PREQ property for this. In the Organization pane I set the condition on each feature PROPERTY_PREQ = "0" (run the prerequisite built-in) and NOT PROPERTY_PREQ = "0" (run the prerequisite from the URL).

This is not working correctly. Both prerequisites seems to run. What I am missing here?

:?:
K
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install on of feature-based prerequisites based on condi

Hello,

This may happens if the Update Features Install States is not scheduled accordingly in your actions sequence.
So, can you please try to add the Update Features Install States custom action with sequence before the ProgressDlg Standard Action from the Custom Actions page and see if the behavior still persist?

If it does, please send us the .AIP(project file) to support at advancedinstaller dot com so we can investigate this?

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

Re: Install on of feature-based prerequisites based on condi

Hello,

It did not work so I have sent an email with the project file.

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

Re: Install on of feature-based prerequisites based on condi

This issue was solved by contacting the support team via email. Thanks

:D
K

Return to “Common Problems”