#1
|
|||
|
|||
DevStudio Installer Version
Is there any way to set the version for a DevStudio installer without using script? I've set the version appropriately in the Versions tab of the Make VS.Net action, checked "File Version" and "Product Version", but when the installer is built, it maintains the design-time version, not the one I specify.
Is this a bug? Or is there another way to get this done via integration? |
#2
|
|||
|
|||
As indicated in the help topic for the Make VS.NET action
"It supports VC++.NET (managed and unmanaged), Visual C#, VB.NET, and J# .NET projects (other project types in a solution will be built, but the added features will not be performed)..." Since a setup (.vdproj) file is just a text file, you could use the Replace in File action to set the version, something like this (you can copy and paste this step into VBP): <step action='Replace in File' type='0'> <FileIn>%VDPROJ_FILE%</FileIn> <FileOut>%VDPROJ_FILE%</FileOut> <Find>"ProductVersion"\s*=\s*"8:([[^"]]*)"</Find> <Replace>"ProductVersion" = "8:%BUILD_NUM%"</Replace> <indent type='3'>1</indent> <name>Set Version</name> </step> |
#3
|
|||
|
|||
Thanks again!
That did the trick. Thanks for the help!
|
|
|