Sure, it's called Multiple Instance Installers.  I've done it many times in 
InstallShield but haven't done it in WiX yet.   The basics are the same, it's 
just different infrastructure / capabilities in how you  build it and service 
it.   
 
Here are a few links to get you started:
 
http://msdn.microsoft.com/en-us/library/aa367797(v=vs.85).aspx
 
http://msdn.microsoft.com/en-us/library/aa369528(v=vs.85).aspx
 
http://blog.deploymentengineering.com/2006/10/multiple-instance-msis-and.htm
 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Multiple-Instance-Transforms-Walkthrough-Proposed-Simple-Addition-to-WiX-to-Make-Them-Easier-td708828.html
 
l

---
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me

--- On Sat, 5/7/11, CoolBreeze <coolbreeze...@googlemail.com> wrote:


From: CoolBreeze <coolbreeze...@googlemail.com>
Subject: Re: [WiX-users] Multiple runs of same installer
To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>
Date: Saturday, May 7, 2011, 9:16 AM


Does anyone know if this is possible and if so how to go about setting this
up?

On Fri, May 6, 2011 at 12:29 PM, CoolBreeze <coolbreeze...@googlemail.com>wrote:

> Is it possible to allow the same installer to run multiple times?
>
> The situation is that I've created a website installer that will need the
> ability to be run multiple times to facilitate the creation of Virtual
> Folders in IIS for different brands.
>
> So for example I run the installer and create a VirtualFolder under the
> Default Website within IIS called BrandA, which installs all website files.
> I need to be able to re-run the installer and this time specify BrandB, so
> that the website files will be installed under the BrandB Virtual Folder.
>
> This is all because we have an installer that needs the ability to be
> re-used for the installation of multiple product brands, without creating
> separate installers for each brand and duplicating the project code for
> each.
>
> As it is now I have the Product Id set to an "*", so that it is different
> for each run; however, when my installer gets to the dialog where I enter
> the Virtual Folder name, I have a drop down where I select the Web Site to
> create the Virtual Folder under the drop down is not being populated on the
> second run also the destination folder and Virtual Folder name are the same
> values as my first run. If I edit them and click Next it's failing with a
> log file entry indicating error 2896.
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to