Hello all,
I'm working through setting up configurable Features for the first time (all previous installers have just used the 1 "MainFeature"). The basic idea is that I want to allow users to choose to install all the files locally, which allows them to run from their PC, or run from the installation CD. I am setting these up as 2 Features in the Organization page.
In the "local" scenario, I want a shortcut to the Executable that's installed in the AppDir (easy enough, that's no problem). In the "CD" scenario, I want a shortcut to the Executable on the CD. Regardless of which option they install, I want the shortcut created in the Application Shortcut Folder, as defined on the Install Parameters page.
According to the Organization page, the shortcut directory is a separate component (called SHORTCUTDIR). I understand how to share this component between both Features. The problem I run into is getting the "CD" shortcut to only show up in the "CD" feature.
In Files and Folders, I defined an Installed File Shortcut under the Application Shortcut folder, which covers the "local" option. I then created a new Shortcut to External File in the same directory, with a different name and pointing to the CD folder. Now under Organization, the "CD" shortcut shows up as a resource under both copies of the SHORTCUTDIR component (i.e. will be installed for both features, not just 1).
I see that there is an option to move a resource to a new component, but this option is grayed out when I right-click on the shortcut resource. It seems I'm stuck. How do I get this shortcut assigned to just the one feature?
Thanks in advance,
Chris
FOLLOW US
Get the latest news in Application Packaging