Teamcity changing the product code and version nr. for microsoft setup project.

Hi,

I have a solution with a main project and 2 MS setup project for generating msi file on release build.

In TeamCity I have configured a CI build and a Release build.

My question is, how I can configure TeamCity to automatically change the setup project's product-code and the setup version nr. to using the build nr.

Thanks in advance..


Regards
Bala

3 comments
Comment actions Permalink

Hi Bala,

Please take a look at AssemblyInfo Patcher build feature.

0
Comment actions Permalink

Hi Alina,

I have already assemblyinfo patcher configured and this doesn't work for the MSI setup project.
Rightnow I have to manually opdate the MSI setup project's assembly version and the product-code.
Can Teamcity be configured to automatically opdate the MSI setup project version nr and product-code.?

Regards
Bala

0
Comment actions Permalink

Hi Bala,

There is no dedicated feature in TeamCity. You can automate the process by creating a build scripts which will replace MSI product version with %build.number% in needed files.

0

Please sign in to leave a comment.