Torch is used to create transforms (.mst files) by diffing two MSIs but not 
used for instance transforms. If you want to create an MSI with instance 
transforms, you can do this in your product authoring with the 
<InstanceTransforms> and <Instance> elements. See wix.chm for more details.

Example:

        <Property Id="TEST" Value="Original Product" />

        <InstanceTransforms Property="TEST">
            <Instance Id="Instance1" 
ProductCode="5B85B612-7124-4566-8E11-59347198D8A9" ProductName="New Product 
Name 1" />
            <Instance Id="Instance2" 
ProductCode="ECB7CF35-AC7E-4373-A58F-0C6DB324AEF2" ProductName="New Product 
Name 2"  />
        </InstanceTransforms>


The MSI property TEST gets set to the Instance Id which you can use to change 
install behavior for each instance. The transform for each instance is the 
instance Id, which must be specified at install time.

"msiexec /i Product.msi TRANSFORMS=:Instance1 MSINEWINSTANCE=1" will install 
Instance1 with an ARP entry "New Product Name 1".

Jordan

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregor Colnik
Sent: Wednesday, April 02, 2008 4:59 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] InstanceTransforms with wix 3

I need to create a msi installation that has to be run (installed) more than 
once (multiple instances of installation) on same computer, and i read this 
should be done with instanceTransforms somehow. But i can't find anywhere how 
to use this in wix.
I know i'm somehow supposed to use torch to create a transformation but that's 
about as much as i know...

I'd really apreceate it if someone could help me, or point me in a direction 
with examples...

thank you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to