Hi,

  I'm currently trying to optimize the MSI generation for our software.
Using suggestions found on Stack Overflow I've been able to generate a
single project with variable WXI files in order to generate my
dev/test/live MSI's (the WXI's simply defining a list of unique
component ID's, instance location, etc). I'm now wondering if there
would be a safe/predictable manner in which to only generate a single
MSI per binary build (and possibly generate a targeted MSI by applying a
transform on a release event).

 

  The Wix 3.6 component property MultiInstance seems to be exactly what
I am looking for, but I was looking for a sanity check before I go down
this road. If I am understanding the bits and pieces I've found, I could
create an instance transform for each dev/test/live that would change
the product code, upgrade code, instance location, misc UI text, and
embed them within the MSI.  Then, with this single MSI I could use my
boot strapper to apply the appropriate transform.

 

  I'm also seeing an InstanceTransforms and Instance element in the
documentation, but Instance doesn't allow for specifying an UpgradeCode.
Since my need is to provide an updated Develop MSI before test and live,
I would need a unique UpgradeCode in order to only upgrade the develop
instance without upgrading the others. Would I have to generate a second
transform to update the UpgradeCode, or is there a means within the
existing Wix multi-instance framework to do so?

 

  If this is correct, then can we confirm that the major upgrade,
uninstall, and repair functionality would all remain intact? (I would
venture to guess the transforms applied to the source database are
stored in the registry under the product code.) Would it be possible to
deny running the MSI directly to enforce that a transform has been
applied?  Assuming the structure of the installer hasn't changed, can
the transforms be reused for multiple builds of the installer?

 

 

Thanks,

Jacob

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to