# How to update a Description in a Delphi package

**URL:** https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605
**Category:** Discussion
**Created:** [October 5, 2007, 8:11am UTC](https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605 "2007-10-05T08:11:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rackerson](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/rackerson/32/43_2.png) [@rackerson](https://www.finalbuilder.com/forums/u/rackerson)
#### Post date: [October 5, 2007, 8:11am UTC](https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605/1 "2007-10-05T08:11:05Z")

</div>

I am trying to build a Delphi package in my FB script.&nbsp; 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&nbsp;release information, company, etc&nbsp;(basically anything on the package's Version Info tab) updated during the build process.&nbsp; What I would like to update is the Description edit box on the package's Description tab.

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

Thanks.

Rich

---

<div class="post-metadata">

### Author: ![rackerson](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/rackerson/32/43_2.png) [@rackerson](https://www.finalbuilder.com/forums/u/rackerson)
#### Post date: [October 5, 2007, 9:16am UTC](https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605/2 "2007-10-05T09:16:56Z")

</div>

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

Rich

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 8, 2007, 2:29am UTC](https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605/3 "2007-10-08T02:29:26Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 8, 2007, 2:29am UTC](https://www.finalbuilder.com/forums/t/how-to-update-a-description-in-a-delphi-package/605/4 "2007-10-08T02:29:50Z")

</div>

BTW, I moved this to the General Discussion forum.
