?
Solved

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

Posted on 2011-10-19
4
Medium Priority
?
285 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:gem56
2 Comments
 
LVL 14

Accepted Solution

by:
raja_ind82 earned 2000 total points
ID: 37056239
0
 

Author Comment

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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Loops Section Overview

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question