BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tool to set the version numbers for app projects in a projec

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
Ralf Mimoun
Guest





PostPosted: Thu May 18, 2006 10:15 am    Post subject: Tool to set the version numbers for app projects in a projec Reply with quote



Hi,

I have some project groups with 10 or more projects, and I want to sync the
version numbers. Is there a tool availabel for this? Yes, I could use
FinalBuilder, and yes, it should not be that hard and I could write it on my
own - but if there is something available, I could save some time. I need it
for D5.

Ralf
Back to top
Liz
Guest





PostPosted: Thu May 18, 2006 12:14 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote



Ralf Mimoun wrote:

Quote:
I have some project groups with 10 or more projects, and I want to
sync the version numbers. Is there a tool availabel for this? Yes, I
could use FinalBuilder, and yes, it should not be that hard and I
could write it on my own - but if there is something available, I
could save some time. I need it for D5.

yes, if only I could remember the name of it. It comes on the companion
cd for bds 2006 .. err, err, I'll try find it.

--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Back to top
Andrew Jameson
Guest





PostPosted: Thu May 18, 2006 3:15 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote



Hi Ralf,

Why not do what we do ? Create a version.rc file and add it to your project
(clear the add version information in your project options). Then simply
build your project. Be warned that Delphi might not rebuild the version.res
file if it already exists even though changes have been made to the resource
script.

We use a simple home grown editor that updates all of our project version.rc
files and then we simply execute a batch file that first of all deletes all
project dcus (you never notice that the source has gone until it's too late)
then calls brcc32 to rebuild all the res files and then dcc32 to build the
project. The batch file also calls an exe compressor and then InnoSetup. So
it's basically enter the version information and then sit back with a coffee
until it's all done and you don't even need to open Delphi !

Andrew

// Example version.rc file :

// Version Information Resource File

1 VERSIONINFO
FILEVERSION 6, 0, 1, 1
PRODUCTVERSION 6, 0, 1, 1
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
//FILEFLAGS VS_FF_DEBUG | VS_FF_PRERELEASE
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "080904E4"
{
VALUE "CompanyName", "SoftSpot Software\000"
VALUE "FileDescription", "Letter Rack 3D 6.01\000"
VALUE "FileVersion", "6.0.1.1 - 20 March 2006\000"
VALUE "InternalName", "LetterRack3D.exe\000"
VALUE "LegalCopyright", "\251SoftSpot Software 2006\000"
VALUE "LegalTrademarks", "SoftSpot Software\256\000"
VALUE "OriginalFilename", "LetterRack3D.exe\000"
VALUE "ProductName", "Letter Rack 3D 6.01\000"
VALUE "ProductVersion", "6.0.1.1\000"
VALUE "Comments", "by Andrew Jameson\000"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 2057, 1252
}
}


"Ralf Mimoun" <nospam@rad-on.de> wrote in message
news:446c4000 (AT) newsgroups (DOT) borland.com...
Quote:
Hi,

I have some project groups with 10 or more projects, and I want to sync
the version numbers. Is there a tool availabel for this? Yes, I could use
FinalBuilder, and yes, it should not be that hard and I could write it on
my own - but if there is something available, I could save some time. I
need it for D5.

Ralf
Back to top
Dmitry Arefiev [gs-soft.r
Guest





PostPosted: Thu May 18, 2006 6:15 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote

Hi !

You can check ChangeRes at http://www.tiriss.com/

Regards,
Dmitry

--
Dmitry Arefiev - www.da-soft.com
AnyDAC - Oracle, MySQL, MSSQL, MSAccess, IBM DB2, Sybase
ASA, DbExpress, ODBC freeware data access framework
gs-soft AG - www.gs-soft.com
SAPx - Delphi to SAP R/3 direct access
Saphir - SAP R/3 metadata at your fingertips
MetaBase - ERWIN model in Delphi applications

Ralf Mimoun wrote:
Quote:
Hi,

I have some project groups with 10 or more projects, and I want to sync the
version numbers. Is there a tool availabel for this? Yes, I could use
FinalBuilder, and yes, it should not be that hard and I could write it on my
own - but if there is something available, I could save some time. I need it
for D5.

Ralf
Back to top
Tjipke A. van der Plaats
Guest





PostPosted: Mon May 22, 2006 7:15 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote

Liz wrote:
Quote:
yes, if only I could remember the name of it. It comes on the companion
cd for bds 2006 .. err, err, I'll try find it.

Well Liz! I think you even have a license for it!

It is changeres... see www.tiriss.com/changeres or indeed on the Delphi 2005
or Delphi 2006 companion cd.

It allows you to change the version number in a .res file (which is where
your delphi projects store its version numbers). You can have changeres get
the version info from a .ini file, and create a simple batch file to set all
the projects to that version like this:

ChangeRes Project1.res -U -F VersionInfo.ini
ChangeRes Project2.res -U -F VersionInfo.ini
ChangeRes Project3.res -U -F VersionInfo.ini

Hope this helps a bit, if you have questions: just ask me

Regards,

Tjipke van der Plaats
Tiriss


--
Need to change your projects version info from the commandline?
Use ChangeRes: http://www.tiriss.com/changeres
Back to top
Liz
Guest





PostPosted: Mon May 22, 2006 8:15 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote

Tjipke A. van der Plaats wrote:

Quote:
Well Liz! I think you even have a license for it!

That I do, but I was having a rush in the morning.. and well, it ran
past me..

:((

Sorry Its not that I dont love you to peices or your app, but, well, it
was a bad morning..

But it was indeed exactly what I was thinking of ..

--
Liz the Brit
Delphi things I have released: http://www.xcalibur.co.uk/DelphiThings
Back to top
Tjipke A. van der Plaats
Guest





PostPosted: Wed May 24, 2006 7:15 pm    Post subject: Re: Tool to set the version numbers for app projects in a pr Reply with quote

Quote:
Well Liz! I think you even have a license for it!

That I do, but I was having a rush in the morning.. and well, it ran
past me..

:((

I was just joking.. Wink don't feel bad Sad !


Tjipke

--
Need to change your projects version info from the commandline?
Use ChangeRes: http://www.tiriss.com/changeres
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.