I am trying to set up the scenario where an action will check an INI file out of VSS.
Then, it will read Major, Minor, Release, Build version information from an INI file in to the dialog box (user prompt).
From there, those numbers will set up the actual Delphi build version information (not sure what version settings to use in the version tab)
If it all works, save the numbers back to the ini file and Check in to VSS
If it fails, don’t check it back in to VSS
We don’t always do successive builds externally, so a simple increment build won’t do the trick.
I need to prompt the user for this information.
Please advise.
Adam
So - how much of this have you got working so far?
You can’t use variables to set the version info in the Delphi Compiler action UI, you need to set them via script. eg. in the BeforeAction script event of the Delphi action do something like this:
Action.MajorVersion = TheMajorVersion
You may also want to look at using a property set, as these are designed to deal with version numbers (increment them, load them, apply them to the action, etc).
As for prompting the user, probably the Prompt For Variables (Enhanced) would be your best bet - unless you just want to ask the user if they want the version incremented or not, then you could use the Ask Question action.
hth.
.t8