Skip to content
⌘ NSIS Forum Archive

Problem with second directory page

2 posts

todd_ingr#

Problem with second directory page

Hey, guys. I'm hoping someone could help me with a small problem I'm encountering.

I have a script that checks for 2 applications. If product a or b is found, it will display only 1 directory page. If both are found, it will display 2 directory pages. This works great as designed.

A problem arrises when the end user has both products a and b installed but decides not to update one of them. When unselecting a product a from the component page, the installer will incorrectly display both directory pages.

I would like the script to skip the directory page that was unselected. How can I accomplish this?

I've attached the function that displays the second directory page.

Thanks!
Todd