cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tampaite
Level 3

Possible to re-install a feature twice?

I have a feature that needs to be installed into two different locations.

My InstallScript Project calls FeatureSetTarget and FeatureTransferData twice but it doesn't copy the second time.

FeatureSetTarget(MEDIA, TARGETDIR, "c:\temp1");
nResult = FeatureTransferData(MEDIA)

FeatureSetTarget(MEDIA, TARGETDIR, "c:\temp2");
nResult = FeatureTransferData(MEDIA)

Appreciate any pointers on how to install a feature twice - looks like InstallShield 'remembers' that it already installed it to c:\temp1 and hence does not re-install it again.
Labels (1)
0 Kudos
(1) Reply
enanrum
Level 9

I have no experience with InstallScript but I'm assuming that it still uses components right? Can't you just create 2 different components with the same data and use the 2 different destinations?
0 Kudos