Thanks for helping out Blair, I'm not actually manually creating the transforms with torch, I am using the <InstanceTransforms> element in wix V3.
---------------------------------------------------------------------- <InstanceTransforms Property="INSTALLENVIRONMENT"> <Instance ProductCode="820ADA26-04CD-4829-98A5-9262BBCE4B15" ProductName="Integration Application" Id="Integration"/> <Instance ProductCode="8C8B5088-A7F9-4146-A309-47E200660F99" ProductName="QA Application" Id="QA"/> <Instance ProductCode="D11DA78D-C8C6-465B-9EBD-DFF519A6CEC9" ProductName="Production Application" Id="Production"/> </InstanceTransforms> ----------------------------------------------------------------------- Which results in 3 instance transforms that are embedded in the msi. My problem is I'd like to replace the hard coded guid's in the code above with ProductCode="*" Just like i have the <Product Id="*" for the main ProductCode. This would allow me to automatically install an instance transform as a major upgrade each build without me having to manually update the ProductCode. Right now if I use the "*" syntax in the Instance ProductCode attribute i get a build error however. So my question is should i just update the guid as part of the build or would WIX be better off supporting the "*" syntax? TIA, steve -------- Original Message -------- From: "Blair" <os...@live.com> Sent: Thursday, September 17, 2009 11:17 AM To: steve.ba...@paradigm-group.net>, "'General discussion for Windows Installer XML toolset.'" <wix-users@lists.sourceforge.net Subject: RE: [WiX-users] InstanceTransforms and Major Upgrades My guess: Instance transforms default to validation flags of "abcdefruy". In your case, you don't want the "r", so you would instead need all except that. The torch validation flags value you would need would then be: "abcdefuy". Assuming you don't change from build-to-build anything that sets your environment, you should be able to build transforms just once and then simply use them on your daily builds. -----Original Message----- From: Steve Baker [mailto:steve.ba...@paradigm-group.net] Sent: Thursday, September 17, 2009 6:49 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] InstanceTransforms and Major Upgrades I have continuous integration build process that automatically deploys a .net web application project as a major upgrade using a wix installer. Normally the installer would first be installed to an integration environment, then another build would "promote" the installation to QA, then to Production. For my current application all of these environments are on the same machine. I am trying to get the whole process working with InstanceTranforms and an Instance for each "environment". Looking at this thread: http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg26469.html it seems that this should be feasible to implement (I haven't gotten it working yet) but I am running into a small issue in the build process because the Tranform ProductCode attribute doesn't accept the auto-generate syntax "*" like the Product's Id attribute does and I will need these to change with each build as well. is this by design due to some technical limitation? i can have the build update the ProductCode for each Instance but i was wondering if updating the wix source to support the syntax would be a better idea? TIA, steve ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users