Domanda

In our current project, we have a product consisting of 3 modules. We would like to deliver only one installer, which will allow the user to select which module(s) to (un)install.

I've got 2 plans:

  • to make one .exe file in C# .net 4.0 windows forms, which will invite the user to select which modules to (un)install. Each module will be coded in Wix. So when the user selects a module to install, it will launch the corresponding msi. But we want to deliver only one installer, not 3.
  • to make one msi with Wix, but I want to enter install/uninstall mode only when the user selects "install module x" or "uninstall module x" pushbutton respectively.

What are your suggestions?

È stato utile?

Soluzione

I would recommend using single installer with few Features (take a look here and to the WIX documentation to read about Features, components and how to organize them). Every Feature can be installed, or removed separately in the "Change" mode of installation. You should use FeatureTree dialog set or another set that contains feature selection dialog

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top