cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Thesorus
Level 4

Creating installer with large file hierarchy generates warning -6653

I am creating a setup that includes a large file hierarchy (lot of folders containing 3rd party DLLs and other files).

I create a simple Basic MSI Project and in the "Project Assistant", I drop in my file hierarchy and start building the setup.

I get the following warning:

...

I tried doing the same thing from the installation designer by using the component wizard and it will create myriads of components.

I tried to manually manage my components and using "Dynamic File Linking" to add the files to the project, but since I cannot create a shortcut when using that (http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/DFL-Limitations.htm) I am not certain it is the best way to do it.

I tried using a component with "dynamic file linking" on everything except the files that will need a shortcut; that seems to be the best way to work this out

----

Question:
What is the "best practice" when wanting to create a setup that contains a big file hierarchy that will create LOT of components?
----


Thanks.
Labels (1)
0 Kudos
(4) Replies
tjohnson1
Technical Writer
Technical Writer

Dynamically linking everything that can be is one way. The error is caused by having too many components tied to a feature, so another option is to break down the components into different features instead of tying them all to one. This can be done from the Setup Design section on the Installation Designer tab.
0 Kudos
jlynch11
Level 6 Flexeran
Level 6 Flexeran

The best practices for creating components can be found here: http://helpnet.flexerasoftware.com/installshield20helplib/installshield20helplib.htm

In order to work around the 1600 components per feature limit, consider adding additional features to your InstallShield project and then divide the components among those features.
0 Kudos
Thesorus
Level 4

Thanks,

I will look into that.

Max.
0 Kudos
Thesorus
Level 4

Fixed.

I created multiple features for the large file hierarchy and fixed the -6653 warning.

It will be a little more complex to maintain the setup project for other people (less technical), but with good documentation (writing it right now) will make things clearer at the end when they will not see errors and warning when build the project.

Thanks,

Max.
0 Kudos