installing same file into multiple locations

Got a problem you cannot solve? Try here.
Ryan Lee
Posts: 26
Joined: Fri Jun 29, 2007 7:11 pm

installing same file into multiple locations

Postby Ryan Lee » Fri Oct 19, 2007 12:50 pm

Is it possible to install the same source file into multiple locations on the target?

For example
I have file X that I want installed into $TARGETDIR$\\folder1 and $TARGETDIR$\\folder2.

Currently I do do this by making multiple calls to Install Files but I think multiple copies of the same file are copied into the installation resulting in a large installation size.

Thanks for any help

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Fri Oct 19, 2007 1:16 pm

You are right. If you install a file more then once, (in different folders), the file is copied that number of times in the installer. Here is a workaround:

Include the files as Support files or File Bag them and use the "Copy/Move Local Files" command to copy the files to all the locations you want.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Ryan Lee
Posts: 26
Joined: Fri Jun 29, 2007 7:11 pm

Postby Ryan Lee » Fri Oct 19, 2007 2:59 pm

That solved my problem but now when I click remove from the add/remove programs dialog it always asks for the original source.

Ryan Lee
Posts: 26
Joined: Fri Jun 29, 2007 7:11 pm

Postby Ryan Lee » Fri Oct 19, 2007 3:08 pm

Never mind, my bad


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 114 guests