I have an installer that installs a few small applications. Some of the applications use the same dll. In my installer, each application is a component/feature.
If I make each component install all the files necessary for it to run, will those shared files be duplicated inside the installer's executable? Will the install executable try to install the file twice (once for each component)?
Example:
Component foo and component bar are selected to install. Both install to the same directory. Both use the file jimmy.dll. Does the installer have two copies of jimmy.dll? Does the installer write jimmy.dll for component foo and then have to overwrite jimmy.dll for component bar?
Shared files
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Depends on how the dual inclusion occurs, but in most cases, yes - there will be two duplicate copies. If you wish to avoid this, you can add the file as a support file/creative, and then use the Copy Local Files command for that file from $SUPPORTDIR$ instead of using Install Files. Or, you can just install the file once using Install Files based the conditions for it to be installed being present or not.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
It would just make one copy.
Yes, support files do not support compiler variables.
Yes, support files do not support compiler variables.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 228 guests