Adding resources to components - 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!

bvelke
Posts: 67
Joined: Fri Jun 10, 2011 6:36 am

Adding resources to components

In the Organizer, I created a number of features and then I set one of them to be current.

Then onto the Files and Folders list, I drag a series of files from the Windows Explorer. When I go back to the Organizer, I find that they've been properly added to the current feature. In most cases, one component was created for each resource. That is, each resource is contained in a component by the same name.

In other cases, however, multiple resources are combined under the same component. I added files called test1.app, test2.app, test3,app, and test4.app, for instance. Under Organizer, it created one component called test1.app and it has all four files (test1.app through test4.app) as resources. In other cases, I've got dozens of unrelated files that have been added to the same component for no apparent reason.

What controls whether each resource is added under a component of the same name ... vs multiple resources under the same component? How do I control which component a resource goes into?

On a somewhat related point, is there a way on the Files and Folders list to highlight a file and see what feature/component it is in?

I hope that these questions make sense.

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Adding resources to components

Hi,

Components are created based on Microsoft best practices. To see the feature of each file you try this:
- go to "Files and Folders" page
- right-click the list header in files view (the one with Name, Size and other columns)
- select "Feature"

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

Return to “Common Problems”