You have to create unique components for each transform.
These components will contain the non file data (registry keys).
This is what I am doing and it works great.


-----Original Message-----
From: Kevin Garman [mailto:gar...@scadaware.com] 
Sent: Monday, December 14, 2009 2:18 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Multiple Instances and Component IDs

Hi,

Ya, that part works fine.  It's the bit about 'non-file' components that
I'm working through right now (services and registry entries).  At the
moment these components do not have unique guids so they don't behave as
desired.  The link I posted presents a solution to that, but since that
post kind of old I thought I'd see if anyone had since come up with any
better solutions.

Thanks,
Kevin



On Mon, 2009-12-14 at 09:02 +0100, Yan Sklyarenko wrote: 

> Kevin,
> 
> What's the problem with uninstalling? Each instance you install is
> reflected by an entry in Add/Remove Programs console (ARP), unless you
> disabled it explicitly
> (http://msdn.microsoft.com/en-us/library/aa367750(VS.85).aspx). Hence,
> you can uninstall it directly from ARP. Or, otherwise, use the following
> command line:
>     msiexec /x {INSTANCE-PRODUCT-CODE}
> 
> Hope this helps,
> 
> -- Yan
> 
> -----Original Message-----
> From: Kevin Garman [mailto:gar...@scadaware.com] 
> Sent: Friday, December 11, 2009 18:38
> To: wix-users
> Subject: [WiX-users] Multiple Instances and Component IDs
> 
> Hi,
> 
> I am building an installer that creates a service and registry entries
> (among other things) and I need to be able to install multiple
> instances.  It works almost in it's entirety, but I'm still stuck on the
> un-installation of instances.  The information I've found so far is a
> couple of posts here
> http://n2.nabble.com/Multiple-Instance-Transforms-Walkthrough-Proposed-S
> imple-Addition-to-WiX-to-Make-Them-Easier-td708828.html
> where a custom extension was involved.
> 
> Some time has pasted since these posts.  Is this the best way to solve
> my problem or is there something better/more standard that will make
> this work?
> 
> Thanks,
> Kevin
> ------------------------------------------------------------------------
> ------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to