I am creating an installer using wix. My installer installs 2 features.
- Feature 1 depends on Prerequisite-1
- Feature 2 depends on Prerequisite-2
As part of installation when the user selects Feature 1 from the Feature selection tree(customizedlg), and presses Next, i want to check whether the prerequisite for Feature 1 is installed. If not i want to abort the installation.
I can find the prerequisite using RegistrySearch.
How to accomplish this task?