Hello everybody, I am pretty new to WiX and Windows Installer so if my question appears a bit newbie - well, I am a newbie :-)
We have products that integrate into Project Web Access (PWA) of Microsoft Project Server 2003. To do this we have to add a virtual directory as a child of the existing PWA web site. (no, unfortunately we cannot install it somewhere else because we need to re-use the current user's session which requires our site to actually be under a PWA site). So far I managed to get a Windows Installer package that allows the user to enter the name of the PWA site and installs our web site accordingly. The problem is now that it is possible to have multiple PWA sites on the same machine. That means that our installer should be able to integrate into one, some or all of them. Since you cannot install an MSI package multiple times we cannot just install our product multiple times. So our installer needs to address multiple sites directly. It would also be great if the installer could allow integration of new sites and removal of integrated sites using the MSI maintenance feature. How to I manage this with Wix/Windows Installer? I could think of the following solutions: 1. The setup does not install a web site at all. Instead, we could ship a configuration tool that lists all the running PWA sites and provides the integration (i.e. performs the necessary creation/deletion/configuration of virtual directories). Beside the fact that doing this well is not trivial we also lose the transactional behavior of MSI. For a clean uninstall we would also need a custom action that invokes our configuration tool to remove all integrated web sites. 2. We could limit the setup to support a fixed number of PWA sites (e.g. five) and create a corresponding number of features that could be enabled/disabled during setup. The downside is obviously the same as in the "640K should be enough for everybody" statement. 3. Our setup could leverage a custom action to dynamically update the underlying MSI tables that are used by the WiX IIS extension. I am not quite sure if this is pretty clever or just insane -- for example, uninstallation could be quite interesting this way. Any other ideas/suggestions? Kind Regards, Immo Landwerth ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users