Matching dll and pdb together in one component - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

bjk68
Posts: 55
Joined: Tue Dec 01, 2009 12:45 pm

Matching dll and pdb together in one component

My application has several dll's with matching pdb files. When I add these files to the "Files and Folders" tab, I notice at the "Organization" tab that each dll gets it's own component, but that all pdb files are placed together in one component.

It would be much more convenient if each matching pair of dll and pdb files, are moved to a component. So the component properties and attributes can be set for both the dll and the maching pdb.

I could of course move the pdb files to the components of their corresponding dll by hand, but it would be nice if AdvancedInstaller did this automatically.

Preferred situation:
Organization tab
* Product
* * Mainfeature
* * * Componentname-1
* * * * Componentname-1.dll
* * * * Componentname-1.pdb
* * * Componentname-2
* * * * Componentname-2.dll
* * * * Componentname-2.pdb
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Matching dll and pdb together in one component

Hi,

I added this improvement on our TODO list and it will be available in a future version. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davidnewcomb
Posts: 19
Joined: Fri Apr 09, 2010 5:04 pm

Re: Matching dll and pdb together in one component

Same is true in 7.6.1. As an addition to the thread's post. The pdb file must be with its corresponding dll otherwise the debug facilities within the application won't work. If the pdb and the dll are in different components, they may be upgraded separately and break the application.

Why are the pdb files grouped together and the dll files are separate? Are there any other file extensions that have this behaviour?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Matching dll and pdb together in one component

Hi,
Why are the pdb files grouped together and the dll files are separate? Are there any other file extensions that have this behaviour?
This happens because Advanced Installer uses the Windows Installer best practices to generate components. We will improve the component generation algorithm in a future version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”