Link to home
Start Free TrialLog in
Avatar of gem56
gem56

asked on

Changing values/properties in a Setup Project based on code/build configuration?

hi guys,

i have an application which im building a setup project for (deployment .msi). for simplicity i've created build configuration in my applications .vbproj which basically have different compile variables which remove certain bits of code from compilation and also changes the applications icon once its compiled.

the problem is that because my main application has different icons based on which build i compile, there are various sections of the setup project which should really display different icons to reflect the main applications release. so for example in the setup, the dialog banner needs to be different based on build version. i also have four different help files which i maintain side by side. depending on the build configuration im compiling with, it would be nice to be able to select which of the help files i actually extract to the application folder. now i've seen that in the properties of included files theres a "condition" which one can set, however im finding it difficult to somehow tie this to the configuration build or something just as easy.

as a last resort i suppose i can have 4 different setup projects, one for each build....or always go and manually change these values (which is very prone to accidents), however i've really prefer if there was a more automatic way of doing this, does anyone have any ideas?

cheers
ASKER CERTIFIED SOLUTION
Avatar of raja_ind82
raja_ind82
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gem56
gem56

ASKER

hi raja, thanks for your reply. not *exactly* what i was looking for, but helpful non the less. thanks mate :)