I have a hard time getting wix 3.7 burn bundle to work. I want to check if a specific COM library exists on the system (it's a prerequisite). I've tried:
util:RegistrySearch
forSOFTWARE\Classes\Installer\Assemblies\Global
underinterop.name, Version=1.170.0.0, ...
- I can't add a wildcard, and key name contains versionutil:FileSearch
for[%WINDIR%]\Windows\assembly\GAC_MSIL\interop.name\1.170.0.0__a59bfa3a209beb60\interop.name.dll
- again, can't add a wildcard, and I'm not sure if I could assume it will be always under GAC_MSILutil:ComponentSearch
- I'm not sure how to find out guid to search for - it seems to always return false whatever I try.- non-util, regular FileSearch - doesn't seem to work under within bootstrap.
- I've also noticed a
HKCR\TypeLib\{F1E91071-83CC-4766-90BA-E038B005ACE}
entry, but again, I'm not sure if it would be reliable to check for?
Is there any good simple way to check for a COM dll existence in GAC? I don't mind if in some border cases (e.g. not full uninstall) it will miss something, I just want to cover most cases and avoid blocking installation because of unreliable checks.