Disable component grouping for feature - 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!

tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Disable component grouping for feature

Hi,

As stated at: http://www.advancedinstaller.com/user-g ... ation.html

Define a new component for every .hlp or .chm help file and designate these files as the key path files of their components.

I have a documentation directory that syncs from a folder on my hard disk and contains many chm files.

I then have all of those files in a Documentation feature and have organized each file into a separate component. If new files get added to the folder they get bunched together into a single component and it would be easy for me to forget to put them in a new component.

Is there a way to turn off "auto-grouping" of components for a particular feature?

Thanks
Tom
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Disable component grouping for feature

Hi Tom,

Having that many .CHM files is a very strange configuration. Usually the help documentation for an application is built into a single .CHM file.
However, if you place each .CHM in a subfolder of the synchronized folder, the organization will be according to the rule you mentioned( each .CHM file will be placed into a separate component ).

Please keep in mind if you create components which don't respect these Windows Installer rules, the installation package could not work correctly.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Re: Disable component grouping for feature

Hi Mihai,

It's not for a single application but rather for a large SDK that has documentation for many different languages supported etc. Having each chm file in a separate folder isn't really a particularly great solution in terms of both appearance and difficult navigation for the user.

Is there a particular reason that the components are grouped in the first place? Is it simply for easier reading ?

Thanks for your help

Tom
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Disable component grouping for feature

Hi Tom,
Having each chm file in a separate folder isn't really a particularly great solution in terms of both appearance and difficult navigation for the user.
In this case, I'm afraid the only solution is to remember to configure your Advanced Installer project as you change the synchronized folder content.
Is there a particular reason that the components are grouped in the first place? Is it simply for easier reading ?
I'm not sure I understand what you mean by this. Are you asking why the synchronized folder option automatically groups a folder's content into a single component?

The Windows Installer rules which dictate the way resources are grouped into components in the Organization page are detailed in the user guide reference.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Re: Disable component grouping for feature

Hi Mihai,

Thanks for your answers. If it's Windows Installer rules that dictate the grouping then I understand why have you have implemented it in this way, and we will make arrangements to ensure we remember to check the components ourselves.

Thanks
Tom

Return to “Common Problems”