PDA

View Full Version : Design Time actions


NetSeeker
12-18-2003, 11:07 AM
To do some precalculations i need Actions that are executed at design time - before the build process starts.

The result should then be available as a custom predefined variable.

For what?
Example : Digital signing of Data, calculating CRC values, preparing databases, gathering Infos from databases etc.

This is do do all the manual pre build steps automatically.

Run before Build / Run after Build / Design time constants is too weak for the job.

E.G.
It is quite difficould to calc the CRC of a file outside the installation automatically.

I can simply check this CRC at run time, but can't build a design time CRC variable at design time.

Actions, that result in design time constants are the solution.
they should run before build, and have one extra acition:

"Assign Design Time Constant"

E.G. for Design Time Actions:
Read file Information ( %MyCRCTemp% = CRC Value of MyDesignTimeFile.ext)
Assign Design Time Value(#MY_FILE_CRC#=%MyCRCtemp%)

That would be a nice extension to do automatic builds