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] >Thread-Topic: Visual Studio Installer: Include file in setup build if only
a DEB
>thread-index: AcSDq+fJQng07GgITCGtXdcVNFa0rQ==
>X-WBNR-Posting-Host: 12.119.170.190
>From: "=?Utf-8?B?Sm9obiBMZW1pcmU=?=" <John
Lemire@discussions.microsoft.com>
>References: <77e8692f.0405201528.46b68e72@posting.google.com>
>Subject: RE: Visual Studio Installer: Include file in setup build if only
a DEB
>Date: Mon, 16 Aug 2004 09:13:02 -0700
>Lines: 16
>Message-ID: <F1D34B45-F462-4B77-A3D2-26FFE289E79E@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.vsnet.setup
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.setup:5889
>X-Tomcat-NG: microsoft.public.vsnet.setup
>
>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
>
>"Joe Goeke" wrote:
>
>> 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!
>> ---JHG
>>
>