- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to selectively install certain files?
- 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
I working on an InstallScript project. During installation I need to be able to allow or prevent certain files from being installed to the target folder. How can I do that? My script logic will determine what files to install, so I need to prevent certain files from being installed.
Side note, Currently all of my files for deployment are in a subfolder named "MunHauserSound"under the "Application Target Folder" which can be viewed in the installshield APPLICATION DATA folder under files and folders in the installshield application.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
Create a new FEATURE and map the files that you want to prevent from installation. Use installscript FeatureSelectItem function to select and deselect the feature.
// Set the selection status of NewFeature to not selected. (It won't deploy your files)
E.g FeatureSelectItem (MEDIA, "NewFeature", FALSE);
Thanks,
Thananjeyan
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
Create a new FEATURE and map the files that you want to prevent from installation. Use installscript FeatureSelectItem function to select and deselect the feature.
// Set the selection status of NewFeature to not selected. (It won't deploy your files)
E.g FeatureSelectItem (MEDIA, "NewFeature", FALSE);
Thanks,
Thananjeyan