KNOWN ISSUE: Cannot create a command-line shortcut that contains only a property

Article:TECH37824  |  Created: 2005-11-18  |  Updated: 2008-04-25  |  Article URL http://www.symantec.com/docs/TECH37824
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution


Issue



When I create a command line shortcut in Installation ExpertShortcuts page > Shortcut table > Target column is populated by "[SHORTCUTPATH]". Property table is also populated with this property and the value will be set to the command line entered in Installation Expert, Shortcuts Page.
  1. Create a simple installation with one file (example: test.txt).
  2. Create a command-line shortcut to the folder containing the file (example: [INSTALLDIR]).
  3. Note that in the Shortcut table that the Target column contains [SHORTCUTPATH], and the Property table contains a new property called SHORTCUTPATH with a value of [INSTALLDIR] (which is not valid, since you cannot set a property value in the Property table equal to the value of another property).
  4. Save and compile the installation.

The resulting shortcut created during installation contains no target path. However, if during step 2 you create a shortcut to the file (using [INSTALLDIR]test.txt) the shortcut is correct.


Environment



Wise Installation Studio 7 SP1
Wise Package Studio 7 SP2

Cause



A property cannot be set to another property in the Properties table.


Solution



Remove the SHORTCUTPATH property from the Property table and change the value of the Target column in the Shortcut table to the original value of [INSTALLDIR]. This results in the correct shortcut.


Supplemental Materials

SourceDEFECT
ValueLB 34035
DescriptionLogged in Littlebuggy (Altiris - Lindon, Plymouth) database

Legacy ID



3961


Article URL http://www.symantec.com/docs/TECH37824


Terms of use for this information are found in Legal Notices