Files & Folders vs Assemblies - 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!

kuffs
Posts: 1
Joined: Fri Sep 07, 2012 12:00 pm

Files & Folders vs Assemblies

I am a little confused by the "Files and Folders" and "Assemblies" section and the documentation isn't really clear enough as it only explains what each checkbox etc does rather than explaining how it works as a whole.

Why would I use one instead of the other. Surely an assembly is the same thing as a file.

It would make more sense if I added all of the assemblies in the "Files & Folders" section and the "Assemblies" section automatically populated from that but as it is, I am unsure which section I should be adding them to. Will adding the assembly in both sections package 2 copies of the file?

e.g
I have a .Net project that consists of 5 assemblies (The main executable and 4 dependents).
I would like to use the NGEN feature of the assemblies tab to generate the native images on installation.
Does adding the assemblies to the assemblies tab mean that I no longer need to add them to the "Files & Folders" tab?

Sorry for bad explanations. I'm not good at putting my thoughts into words.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Files & Folders vs Assemblies

Hi and welcome to our forums,
Will adding the assembly in both sections package 2 copies of the file?
No, you need to add the assembly in Files and Folders page and then go to Assemblies page and set it to register in GAC using the indication from our user
user guide. The file will be this way placed only in the GAC location of the machine, not in the destination folder set in Files and Folders page.

You need to add the files in Files and Folders page so they get included in the package. The settings from Assemblies page allow you only to apply them on files that are part of the package.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”