I have a standard MSI being created using Visual Studio 2008.
Is there any way that I can have it copy the symbols of the exact DLLs and EXEs that were placed into the MSI somewhere so that I can use them for remote debugging of an installation from that MSI?
Another way to do this is to use a conditional install flag and a public property.
Add your pdb files to the msi, but also create a new component in the msi, and associate the pdb files with that component.
Create a new public property in the msi, call it something like
INSTALLDEBUGSYMBOLS. Have its value set to false. Set a condition on the new component to only install if the property is set to true. This means that during normal installation, the component containing the pdb files will be skipped. However you can at a later date re-run the msi, and override the value of theINSTALLDEBUGSYMBOLSflag, which will mean your component now gets installed (public properties can have their value set externally). To override that property, your command line will look something like this: