Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   DevStudio Installer Version (https://www.kinook.com/Forum/showthread.php?t=315)

shafjac 02-04-2004 05:04 PM

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?

kinook 02-04-2004 05:55 PM

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):



%VDPROJ_FILE%
%VDPROJ_FILE%
"ProductVersion"\s*=\s*"8:([[^"]]*)"
"ProductVersion" = "8:%BUILD_NUM%"
1
Set Version

shafjac 02-05-2004 03:36 PM

Thanks again!
 
That did the trick. Thanks for the help!


All times are GMT -5. The time now is 08:34 AM.


Copyright © 1999-2023 Kinook Software, Inc.