Re: Can enviroment variables be used in paths to product files in a VS setup proj

From: Phil Wilson (Phil.Wilson_at_unisys.spamcom)
Date: 05/20/04


Date: Wed, 19 May 2004 17:32:14 -0700

I don't believe so. I think you mean VS macros that refer to solution and
project locations, not environment variables. The only option I know of
that's close to that is to set the setup project's input to be the output of
another project.Right-click on the project name and choose Add Project
Output. If they are in the same solution I think that debug/release choice
hgappens for you.

-- 
Phil Wilson [MVP Windows Installer]
----
"Joe Goeke" <joe_goeke@hotmail.com> wrote in message
news:77e8692f.0405191255.4d84c5f6@posting.google.com...
> I have several Visual Studio setup projects that reference product
> output folders which of course include the sub dirs "debug" and
> "release".
>
> The VS installed doesn't provide any mechanism to reference files via
> environment vars.  Is there a way to specify an environment variable
> in the setup .vdproj file such that VS will find the files?
>
> I really don't want to have to clone and maintain two setups just to
> differentiate between a debug and release product files.
>
> Thanks in advance!
> ---JHG


Relevant Pages