1
votes

I am writing a utility for our lab that checks the installed software on the local machine against a collection of installers (msi files) on a NAS. From a bit of web searching, it seemed like the preferred approach for determining what packages are installed on a Windows based machine from within code is to iterate over the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall keys. The installers that I am interested in are namespaced ( and created by me) so picking the registry keys that I am interested in is easy, but I have noticed the installers that I have created using wix are not setting the InstallLocation key like most of the other installers are doing.

enter image description here

Since I am not specifically setting any of these keys (within the Uninstall\XYZ section) within the wix installer specifically, I am assuming there are some installer attributes that are being used to populate the existing keys. Does anyone know the proper way to have the InstallLocation filled out by the wix installer? I am currently using WIX 3.8 at the moment.

1

1 Answers

5
votes

This would be a place to look if you are creating the MSI files:

http://robmensching.com/blog/posts/2011/1/14/arpinstalllocation-and-how-to-set-it-with-the-wix-toolset/

If they belong to other companies there's not much you can so.