locked
Windows Installer: modular installation - possible? RRS feed

  • Question

  • Hello,

    I have to make the installer for a product that is sold on a
    module-by-module basis. The number of the modules is not known beforehand.
    A module ships on its own disk, which holds the same application core, and
    some extra stuff for the specific module. And the hard part: the desired
    (and natural) behaviour would be to show a single application installed,
    and present a single uninstaller (which OC would need to be merged somehow
    on the user's machine).

    Following the Wix tutorial I managed to make the installer for each disk,
    reuse the shared core components, target the same directory. It installs
    nicely, the core is removed after the last uninstall, etc. But the only way
    I could get things this far is to use different product/package codes,
    which seems to imply different entries in the "add/remove progs" list.
    There is no clear ordering between the modules, so making them as upgrades
    doesn't seem viable. And merge modules, AFAIK, can only be merged during
    compilation, on the developer machine.

    This is similar to "plugin" installations where the plugin later needs to
    be uninstalled together with the main product. Is there a good solution for
    these cases?

    Thanks
    Monday, July 13, 2009 11:20 PM

All replies

  • You might be able to do it with merge modules and get the controlling installer to choose the correct modules(s)
    http://wix.sourceforge.net/manual-wix2/authoring_merge_modules.htm


    http://pdkm.spaces.live.com/
    Thursday, July 16, 2009 9:53 PM