Dependency scanning

Got a problem you cannot solve? Try here.
MortSkil
Posts: 59
Joined: Mon Oct 30, 2006 3:27 am
Location: Trondheim, Norway

Dependency scanning

Postby MortSkil » Tue Nov 14, 2006 6:56 am

I added a .NET assembly to a Feature in Files, clicked Scan and loads of dependencies were added, even from the .NET Framework directory.

Why are common .NET features added? Are there recommendations on which to remove, and is it possible to set a filter, so that not only dependencies in one or more source directories are added?

I guess the dependencies referenced from \\Windows\\Assembly\\nativeimages1_v1.1.4322\\<name>\\<ver>_<GUID> should be left out, as these are natively JIT compiled on the development platform.

I think the need for manually deleting detected dependencies is a little annoying.

What happens if applications from different features share dependencies? Is there an easy way to move these dependencies to "Feature independent"?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue Nov 14, 2006 11:28 am

Sorry, the dependency scanner does not support filters right now. You can always review what it finds and remove them manually, at least this is a safe approach.

You can move files to feature independent using the MSIcode view. Just cut the Install Files commands for the files that you want to move out of the feature they belong to (use the code navigation drop-downs for this), and then add them right below [OFFLINE FILES] which is your feature independent section.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

MortSkil
Posts: 59
Joined: Mon Oct 30, 2006 3:27 am
Location: Trondheim, Norway

Postby MortSkil » Thu Nov 16, 2006 11:27 am

Is it possible to pass command line arguments when scanning dependencies?

If not - it would be great to have the possibility to do so, because some programs bomb out if they have no arguments :)

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri Nov 17, 2006 9:59 am

This is a good feature suggestion, thank you!
Michael Nesmith

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 40 guests