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

How to install Multiple copies of single file ?

Hello All,
How to install same file ( .dll or any other file ) in two different location . like

My app -
folder A -
a.dll
folder B -
a.dll
b.dll

In our application we have two application ( .exe ) and two to three web packages . so we need some common dll must be installed on some folders . Is it possible to do with Installshield 2013 limited addition with visual-studio .

with regards ,
jophy
0 Kudos
(7) Replies
Chaitra
Level 9

Hi Jophy,

It is possible to install same files in two different locations with InstallShield Limited Edition 2013.
Please follow the below steps for the same-

For example, in your case, you have to navigate to “Files” view:
1. Right click on My app and create 2 new folders in the “Destination computer’s folders”.
2. Now, from the “source computer’s files”, just drag and drop a.dll to “Destination computer’s files”, while folder A is selected.
3. And drag a.dll and b.dll in the same way, drop to “Destination computer’s files”, while folder B is selected.

In this way same files can be installed under multiple folders..

Kindly let us know if there are any other issues.

Thank You,
Chaitra
0 Kudos
jophyjob
Level 4

Hello Chaitra,
Sorry for the late replay , i was not talking about adding dll manually . When we have two application (ex: two WPF applications ) that to be distributed with the single setup , we put one application in in one folder (say folder "A" ) and we put another application in another folder ( say folder B). We set find and add dependent dll automatically (setting from property window ).
The both application use some third party dll's . For working of both application need that dll's , but by default install shield don't install multiple copy of dll (that is dll's will only be installed on folder A or folder B). Is any way to set add multiple copy of dll in installation .

with regards ,
jophy
0 Kudos
Chaitra
Level 9

Hi Jophy,

Please try to place all the third party dependent dll’s in GAC (C:\windows\assembly) so that both the applications can make use of the dependent dll’s present in this location.

There is no automated method to add multiple dll’s, so using GAC and placing all the dll’s in this location might help this issue in a better way.

Kindly let us know if you need any further assistance on this.

Thank You,
Chaitra
0 Kudos
jophyjob
Level 4

Hello chaitra,
placing all the third party dependent dll’s in GAC make issue ( it is licensed ) and we already tried putting all dll in gac it give error when update and modification time like multiple version of dll's . Is any other way ..

with regards
jophy
0 Kudos
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

You can use DuplicateFiles table to install copy of single file to multiple locations. There is no interface provided by installshield limited edition for this, so you have to use MSI Direct Editor like orca.

Please see Windows Installer documentation for details of different columns of DuplicateFiles table.

Thanks,
Chiranjeevi
0 Kudos
jophyjob
Level 4

Hello chiranjeevi,
But orca work with setup file ( .msi or .exe file ) . That means we have to edit after building , we are using TFS build to create setup and one day our team make more than 5 build's . For testing we have to manually edit all setup it is difficult option and error prone , is any easy automated option for this .

with regards
jophy
0 Kudos
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello jophy,

Unfortunately, there is no automated option available to achieve the required behavior, other than aforementioned.

Regards,
Chiranjeevi
0 Kudos