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
- :
- How to set TARGETDIR to files in a specific Application Target Folder?
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
Jan 08, 2020
06:07 PM
How to set TARGETDIR to files in a specific Application Target Folder?
I have an InstallShield InstallScript project. Before installing the application I set the TARGET Dir and then invoke the SdStartCopy dialog box to complete the installation. Example code:
TARGETDIR = tPath; // tPath was entered from the SdAskDestPath dialog box
nResult = SdStartCopy2(szTitle, szMsg); // Invoke installation.
This works great, but what if I only want to install one folder from my Application Target Folder. For example I have two subfolders "Apps_01" and "Apps_02". How can I restrict the installation to just installing from the "Apps_02" folder. See screen snapshot.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 22, 2020
07:28 AM
Hi
Make Apps_01 and Apps_02 as sub-feature and use FeatureSelectItem IS function to disable the feature.
Please find the below link
Thanks,
Thananjeyan
