cancel
Showing results for 
Search instead for 
Did you mean: 
jophyjob
Pilgrim

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
Tags (1)
0 Kudos
7 Replies
Chaitra
Pilgrim

Re: How to install Multiple copies of single file ?

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
Pilgrim

Re: How to install Multiple copies of single file ?

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
Pilgrim

Re: How to install Multiple copies of single file ?

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
Pilgrim

Re: How to install Multiple copies of single file ?

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
Flexera chiranjeevi
Flexera

Re: How to install Multiple copies of single file ?

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
Pilgrim

Re: How to install Multiple copies of single file ?

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
Highlighted
Flexera chiranjeevi
Flexera

Re: How to install Multiple copies of single file ?

Hello jophy,

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

Regards,
Chiranjeevi
0 Kudos