[wix-users] Multi instance setup

Edwin Castro egcastr at gmail.com
Fri May 10 08:46:59 PDT 2019


ProductName and PRODUCTNAME are different.

ProductName is a private property.
See https://docs.microsoft.com/en-us/windows/desktop/msi/private-properties

PRODUCTNAME is a public property.
See https://docs.microsoft.com/en-us/windows/desktop/msi/public-properties

According to
https://docs.microsoft.com/en-us/windows/desktop/msi/productname

ProductName "can be changed by a transform"
See https://docs.microsoft.com/en-us/windows/desktop/msi/about-transforms

--
Edwin G. Castro


On Fri, May 10, 2019 at 7:31 AM Elena Aralla via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hello,
> I'm trying to do a multiinstance setup following these directions:
>
> http://sklyarenko.net/blog/2011/09/14/revisited-multiple-instance/
>
> this is part of my Product.wsx
>
>   <Product Id="*" Name=“MyAppName" Version=“1.0.0.0"
> Manufacturer=“MyManufacturer" UpgradeCode=        ”SOME GUID">
>
>     <Package InstallerVersion="200" Compressed="yes"
> InstallScope="perMachine" InstallPrivileges="elevated" Languages="0,1040" />
>
>     <Property Id="INSTANCEID" Value=" " />
>
>     <InstanceTransforms Property="INSTANCEID">
>       <Instance Id="I01"
> ProductCode="8168F059-7EB8-4A30-B906-57EE371F523B" ProductName="MyAppName
> 01"/>
>       <Instance Id="I02"
> ProductCode="0B25F5B6-D35E-4F2C-95F5-F62B9C9AC98E" ProductName="MyAppName
> 02"/>
>       <Instance Id="I03"
> ProductCode="21BFAA6D-3260-4EC6-82E9-04B153C7325F" ProductName="MyAppName
> 03"/>
>     </InstanceTransforms>
> </Product>
>
> One question:
>
> Is it possible to pass the ProductName when calling the installer from the
> command line?
>
> Something like
>
> msiexec /i mysetup.msi MSINEWINSTANCE=1 TRANSFORMS=":I01” PRODUCTNAME =
> “user choice"
>
>
> Thanks a lot,
> Elena.
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/



More information about the wix-users mailing list