Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WIX: How to detect if third-party application is installed?

Tags:

wix

Is it any way in WIX to detect that a third-party application with a specified upgrade code is installed and what is it's installation folder? I can suggest a custom action is required, but what exactly to do in such custom action? Is it possible to detect such things in VBS custom action?

like image 815
grigoryvp Avatar asked Oct 19 '09 15:10

grigoryvp


1 Answers

It really depends on the application. Most applications publish a registry key that can be used to detect them. In that case you just need a RegistrySearch element, no custom actions necessary. If the application was installed via MSI, sometimes a ComponentSearch is better.

like image 50
Rob Mensching Avatar answered Nov 15 '22 11:11

Rob Mensching