Q:

How to include pdb files in MSI installer to deploy along side the rest of the app? 

How to include pdb files in MSI installer to deploy along side the rest of the app? 
I want to keep the line numbers and full stack trace in error logs we generate. 
Update
The line numbers of the code are not reported in the stacktrace unless you distribute the pdb's, I've tested this. 
How can when I build the MSI and I've asked the MSI installer project to include various project outputs (about 5) to also include the pdb's of those project outputs in the MSI?  or how to get this information (code line numbers) from the Exception ex into the logs? 

A:

For a Visual Studio Deployment Project you should do:
Add -> Project Output -> Debug Symbols
Also make sure that the *.pdb generation is enabled in each project Build configuration. 

A:

I know this is a little late to the OP, but I found that the previous answer needed more clarification (at least for me).    For VS2010, when you click Add -> Project Output -> Debug symbols, you need to specify the project in the drop down, and then ctrl+click the "Debug Symbols" for that project.   Do this for all the projects that you have, which will entail you clicking Add -> Project Output -> Debug Symbols each time. 