How can I update the WIX bootstrapper installer package via MSI and vice versa?

Situation:

I have a WIX-based bootstrapper installer that installs my msi package and (some) prerequisites (.NET). The installer is -.exe and it works fine.

Now some customers want to install msi, especially in corporate environments where they can click it centrally.

It looks simple, just give them msi. Again, it works fine.

Now, the problematic part.

When the application is installed from MSI and then upgraded to a newer version from the .exe installer, there will be two ARP entries. And vice versa - when the application is installed from .exe and then updated from MSI, there will again be double ARP entries.

Is there a simple / standard solution?

+6
source share
1 answer

To maintain visibility as a bundle: apparently, msi: not visible, you can:

  • Install the update in the same way as the package does by passing ARPSYSTEMCOMPONENT=1 to msiexec or
  • Change your MSI product so that it does not appear by default: <Property Id="ARPSYSTEMCOMPONENT" Value="1" />

(In your MsiPackage / @ Visible package, apparently no is effective, which is the default.)

+2
source

Source: https://habr.com/ru/post/978251/


All Articles