Groups | Blog | Home
all groups > visual studio .net setup > may 2004 >

visual studio .net setup : Visual Studio Installer: Include file in setup build if only a DEBUG build?



joe_goeke NO[at]SPAM hotmail.com
5/20/2004 4:28:50 PM
Is is possible to flag a file in the Visual Studio installer, such
that the file is only put into the MSI for installation if a DEBUG
build is being done. I have a couple of files I only want to install
if running a debug build version of the setup which has only debug
product files.

Thanks in advance!
John Lemire
8/16/2004 9:13:02 AM
Hi Joe,
Just curious if you ever got an answer to this as I'd like to do the same
thing for my .pdb files....
thanks

[quoted text, click to view]
PatBak NO[at]SPAM online.microsoft.com
8/18/2004 12:03:13 AM
The configutation support in Setup Projects is not very good. There is no
good way to do this. If you are using Project Output Groups then you can
select which configuration to use. You can control what file show up in the
POG to some degree but its not the best thing. For Example.

Adding the Primary POG in the Active Configuration
- DEBUG: Includes PDB
- RETAIL: Does not include PDB

You best bet is to duplicate the Setup Projects and exclude/include files
as appropriate.

Patrick Baker - Visual Basic
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
[quoted text, click to view]
AddThis Social Bookmark Button