Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Write WIX current version in registry #4073

wixbot opened this Issue Aug 15, 2013 · 4 comments


None yet
2 participants

wixbot commented Aug 15, 2013

When installing WIX it writes several registry keys under HKLM\Software\Microsoft\Windows Installer XML\3.7 . The previous version wrote its data under the key 3.5.

There is no way to detect automatically from registry keys which version of WIX is installed and where it is installed because the primary key always changes (3.5 -> 3.6 -> 3.7). Such detection would facilitate writing various msbuild scripts.

It would be convenient if WIX installer would write the property "CurrentVersion" under the key "Windows Installer XML", pointing to the subkey of the current installed version of WIX.

Originally opened by tpgalchenko from http://sourceforge.net/p/wix/feature-requests/743/


wixbot commented Aug 16, 2013

Ticket moved from /p/wix/bugs/3356/


wixbot commented Aug 22, 2013

We can consider adding a "HKLM\Software\Microsoft\Windows Installer XML\3.x" since we may try to do SxS installs in future. Leaving for triage next week.

Originally posted by robmen


wixbot commented Aug 24, 2013

The concept here is fine, to detect which one version is installed among non-SxS releases and among other SxS releases. Visual Studio does the same thing in a "SxS" key. However, the best time to do it is from the beginning. As it wasn't, anybody needing to detect "current" releases of WiX has to do so by looking at 3.0, 3.5, 3.6, and 3.7. We should take it in v3.8 so we don't explode the number of manual checks and make sure it merges so it's in the .0 release of the v4.x line.

Originally posted by barnson
Area set to installer


wixbot commented Oct 7, 2013

Originally changed by barnson
AssignedTo set to bobarnson
Resolution set to fixed
Status changed from Open to Resolved

@wixbot wixbot added this to the v3.8 milestone Dec 20, 2015

@wixbot wixbot closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment