Hello!

I need to add a few custom fields to my application's version info. On
Lazarus 0.9.29 beta, I tried doing it with Project > Project
Options... > Version Information, but there is no way to add custom
fields.

Then I tried modifing the .rc file, like:

1 VERSIONINFO
FILEVERSION 0,0,0,0
PRODUCTVERSION 1,0,0,0
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
...
   VALUE "MyCustomField", "xxxxx"
...

But the changes are destroyed when I rebuild the project.

Also tried modifing the .lpi file, like:

<?xml version="1.0"?>
<CONFIG>
  <ProjectOptions>
...
    <VersionInfo>
...
      <MyCustomField Value="xxxxx"/>
...

But these changes are destroyed again.

The only way I could do it was using Resource Hacker, and it worked
right, but I would like to find a way to store these fields in my
project from Lazarus. Any ideas??

Thanks and regards!
-Marco

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to