This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Possible to re-install a feature twice?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 14, 2012
02:17 PM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 16, 2012
09:49 AM
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?