[wix-users] How to detect which version (if any) of WiX Toolset is installed on the computer?

Wesley Manning wmanning at dynagen.ca
Mon Feb 8 05:40:27 PST 2016


I know there is an API in latter versions of Wix. It was discussed on this mailing list or wix-devs. Can't remember the name and don't know if it's documented to not.

Wes

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tobias S
Sent: February-08-16 4:29 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] How to detect which version (if any) of WiX Toolset is installed on the computer?

I'd check if environment variable %wix% is present. If yes, check e.g. for fileversion of %wix%bin\candle.exe.

Other approach is traversing the ARP information in

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
(or without wow6432Node on x86 OS)

for the GUID {65E893AD-EDD5-4E7D-80CA-F0F50F383532}. The so found key should be the WIX ARP Entry. If present check for BundleVersion.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list