You probably have the .pdb files with the installed app. Without the .pdb files, it should not show the file locations.
Have a look at Getting line numbers in exception stack trace in a Windows Service
and include line numbers in stack trace without pdb?
You can't get a stack trace with line
numbers directly from your application
unless you bundle the PDB.