Hello,
I worried that maybe if I put same condition check for both main file and its LP when after installing primary package (and since modify e.g. registry with flag of its completed installation), condition for LP will match and LP will be skipped.
You can also mark select "Microsoft Visual Studio 2010 Report Viewer" as the
parent prerequisite of the language packs from the Option tab.
Please note that you cannot use the same detection criteria for the "Microsoft Visual Studio 2010 Report Viewer" and for its language packs. On a machine that already has the Microsoft Visual Studio 2010 Report Viewer installed but not its language packs the language packs will not be installed because the prerequisite criteria is already met.
So If I understand correctly you iterate all prerequisites and its conditions on setup startup and build setup queue for them, after that all system modification will not refresh this queue until setup finished.
Actually, all the conditions are evaluated at startup and a list with the prerequisites that need to be installed is created. The prerequisites are checked for install and installed. After each prerequisite is installed its conditions are gone through again to verify if the prerequisite was correctly installed.
Regards,
Mihai
FOLLOW US
Get the latest news in Application Packaging