Hello
I've run into an issue with my installer.
I'm trying to install an FTDI driver as a prerequisite before installing the main Application.
Before installing I check if the driver is already installed, by checking for the .sys file in the drivers folder ('C:\Windows\System32\drivers\ftdibus.sys') and an entry in the registry ('HKLM\SYSTEM\CurrentControlSet\Services\FTDIBUS').
The issue is, both of these entries are only created, once a compatible FTDI device is connected to the PC. This means after the installation of the prerequisite, they do not yet exist, and the installer always prompts, that the prerequisite installation failed, even if the installation worked just fine.
Is there a way to only check for these conditions BEFORE the installation, but disable the check AFTER the installation to check if the installation was succesful?
I don't want to disable the condition, because if I release an update, the condition works fine (since the installation ) and the prerequisite is skipped.
Thank you for any tips.
Best Regards