Skylla
Posts: 17
Joined: Thu Jan 24, 2013 1:44 pm

Use custom action to determine if chained pkg is installed

Hello

I would like to use a custom action to determine if a chained pkg should be installed or not.

I would do this by setting a property that is used as a condition for installing the chained package.

Is this possible?

Where in the InstallExecuteSequence do I run the custom action?
Skylla
Posts: 17
Joined: Thu Jan 24, 2013 1:44 pm

Re: Use custom action to determine if chained pkg is install

I've got this to work following the approach described above.

Except for one thing.

I'v have a problem in the following scenario.
Package A chains package B
Package B runs a custom action to determine if package C should be chained
In other words:
A chains B, B may chain C

If i install A, B gets installed, but C doesn't even though the custom action runs.
If I install B directly, C does get installed

I can see in the log that the custom action do set the property used to control the chaining of C in both cases (INSTALL_C=1)
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Use custom action to determine if chained pkg is install

Hello,

I'm not sure why this happens. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

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

Return to “Building Installers”