How to update a Description in a Delphi package

I am trying to build a Delphi package in my FB script.  if it matters, I am building my Delphi package in all Delphi versions 5 - 2007.

I know I can set variables and have properties of my package, such as release information, company, etc (basically anything on the package's Version Info tab) updated during the build process.  What I would like to update is the Description edit box on the package's Description tab.

Is there a way to do this?  Can you possible provide me a sample code snippet to set a description?

Thanks.

Rich

My apologies.  After posting, I realized I sent this to the Bug Reports forum instead of the General Discussion group where is probably belongs.

Rich

Hi Rich

The package description is held in the dpk file (ie in the source code) with a line like this :

{$DESCRIPTION ‘FinalBuilder 5.x Core API’}

To make the actual change, all you need is the Text Find/Replace action, set the Search String to : {$DESCRIPTION*}

Turn on the “Wildcard * matches any substring” option and then in the Replacement string you can do something like :

{$DESCRIPTION ‘%MYDESCRIPTION%’}


HTH

BTW, I moved this to the General Discussion forum.