Parameterizing Product Code, Product Name and Path

May 18, 2012 at 12:18 AM

The documentation at states:

"UninstallName" (use either UninstallProductCode or UninstallProduceCode)"

Should this instead say:

"UninstallName" (use either UninstallProductCode or UninstallName)" ?


If so, being able specify just the Product Name in the case where a new Product Code is generated for the MSI for every build (i.e. Major Upgrade) is useful.  However, a further challenge is when the Product Name also changes between releases (e.g. it includes the version number as a suffix).

If not, apart from updating the Deployment Script from Team Build for every release, has anyone used any other approach? 

It would be great if there was an option to set all of the parameters straight from Team Build rather than in the Deployment Script as then you could simply pass any values in (e.g. path of MSI, Product Code, Product Name etc).  If you wanted to perform multiple installs, you'd have multiple Deploy Activity and corresponding parameters, one set for each environment.