BPG Iterrator problem

Hi,

I try to use the BPG iterator to build or projects.

I have a BPG file Itterator with a build Delphi win32 child action.



and now I would like to have my product version and FileVersion updated from my PropertySets. So I set this in my Version Info page



But the problem is that all other information that are stored in my project file are now removed. The property CompagnyName, File Description etc.

Is it possible to get back thoses data that are stored with the project file ?

Regards

Jonathan

Hi Jonathan,

There are a number of ways you can load the Company Name and other fields into the property set for use in the Delphi build action. The PropertySet assign properties action allows the setting of the fields directly as you require. Another option is to load the PropertySet values from an ini file, or an assemblyinfo file. This allows you to have separate settings per project if you require. Simply have a separate ini file per project with the relevant property set values as you require.

Hi,

I thing th good to do is to read the project settings (like you do when the dpr file is used) and geek the version information and only override the field that is pecified in the setting panel. 

Is this a better solution than maintaining another set of (in our case) 100 project file ?

Regards

Jonathan

HI,

Any though on reading the information from the dpr file ?

Regards