Installing WiX 3.5 alongside WiX 3.0

前端 未结 2 1575
说谎
说谎 2021-02-06 04:04

Is it possible to install both WiX 3.0 and 3.5? If I install 3.5 after installing 3.0, it removes the 3.0 files - and if I attempt to install 3.0 after 3.5, it tells me there is

2条回答
  •  无人共我
    2021-02-06 04:53

    I ended up:

    • Installing WiX 3.5.1916 with the .MSI package (later versions failed in strange ways which I didn't put much effort into figuring out)

    • Copying the following files to the build server:

      • %programfiles%\Windows Installer XML v3**
      • HKLM\SOFTWARE\Microsoft\Windows Installer XML\3.0 (SOFTWARE\Wow6432Node\ for x64 systems)
      • %programfiles%\MSBuild\Microsoft\WiX\v3.0**

    It builds successfully now, I haven't done much testing with the resulting files though. So it seems it is possible to have 3.0 and 3.5 concurrently, it's just a minor pain to make it work.

提交回复
热议问题