PDA

View Full Version : Duplicate files?



NewsArchive
12-23-2007, 01:28 PM
If I have two features and a set of DLL's is included in the Always Install
feature, when I do a static scan the list of files are added to the feature
too. I assume they only appear in the list, or will this add an overload to
the setup? If not, I think it would be quite nice to make sure all files are
present when adding a feature.

Bjarne

NewsArchive
12-23-2007, 01:30 PM
Bjarne,

This only happens if you do a static (or dynamic) scan and is caused by a
(known) upper/lowercase filename problem.

http://www.lindersoft.com/forums/showthread.php?t=5325

Up until now we did not find a solution to this problem.

A note of caution: The files are added multiple-times in your case!

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.7
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
12-23-2007, 01:30 PM
> This only happens if you do a static (or dynamic) scan and is caused by a
> (known) upper/lowercase filename problem.
>

Can't say it looks similar because the casing is the same in the list of
Always Install, Feature Install and in the list of Static Scan.
I can do a Static scan for an exe and add all the DLL's do Always Install
(tested now, 0 items added because I had them already).
Then I change to Feature, do the same scan, and all DLL's are added there.

Bjarne Havnen

NewsArchive
12-23-2007, 01:32 PM
Aha, okay. Not sure if I understand your original question correctly... If
you add the static scan list to another "Feature" then you'll not receive a
warning.

But of course, it will add another set of files (increases the size of your
setup.exe).

Friedrich

NewsArchive
12-23-2007, 01:32 PM
> But of course, it will add another set of files (increases the size of
> your setup.exe).
OK. Then I want a new feature: Include files only once in each install. Each
file is unique, right?

Bjarne Havnen

NewsArchive
12-23-2007, 01:33 PM
Quite a few developers have to include the same file (or the same file name)
twice or even more than twice. And the compiler supports include and
exclude wildcards. If you add a file more than once to the same Feature,
the IDE displays a warning. But the developer can still decide whether or
not to add the file multiple-times. Some developers have to include the
same file more than once to the same Feature.

Friedrich