i've got following problem. at the beginning of the building process i read an ini file which includes every customer with their credentials i can build a package for. now i'm searching for a possibilty that for example a message box pops up and within the message box there are the names of the customers and checkboxes so that i can choose for which customer i would create a package.
or is this the complete wrong way and there is a better solution?
Thanks for your post. The Prompt For Variables (Enhanced) action contains a range of controls to prompt for user input, and this should allow you to create the dialog you’re thinking of. It’s a fine approach if you need to be able to parameterize each build via a user interface.
Regards,
Angus
PS If you’re also doing scheduled daily builds (or the like), there is a variable called %ISAUTOBUILD% which you can check to find out if you should pop up the dialog, or do something else (like use some default settings, etc.)
thx for your answer. now i’ve got one last further question: how can i add variables to the prompt for variables (enhanced) action at runtime? is this only possible with a script?
You want to configure which variables to prompt for at runtime? This may be possible using script, by editing the VariableDefaults list at runtime. It may not actually be possible at all (sorry), maybe you could use If/Then logic to decide which Prompt For… action to run, and have each configured with a different set of variables?
I have a variable GEN_PROJLIST that I build in Runtime .Each time I want to add an item to it, I use Set Variable :
OriginalValue + chr(13) +NewString . This way I get a the right String. In the Prompt for Variables (enhanced) , In the Dialog Items, Values field I put the %GEN_PROJLIST% that I have created. The type is Check LIst. It works Fine .
ok, now i use the set variable action. in the new value edit i enter: %GEN_PROJLIST% + chr(13) + “FRANZ”. but now the result string is: + chr(13) + “FRANZ” what did i do wrong?