Receive error when compiling a WiseScript containing the Deactive SVS Layer action

Article:TECH25301  |  Created: 2006-11-17  |  Updated: 2008-06-25  |  Article URL http://www.symantec.com/docs/TECH25301
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



Compiling a WiseScript that contains the Deactivate SVS Layer action can cause the error message, "You have referenced the variable _FSLGUID_. This variable has not been previously defined."

Steps to reproduce:

  1. Create a new blank script.
  2. Add the Deactivate SVS Layer action.
  3. Compile the .wse.

Environment



Wise Installation Studio SP1
Wise Package Studio 7 SP1, SP2


Cause



The Deactivate SVS Layer script contains an incorrect Set Variable action.

Solution



This issue is fixed in Wise Installation Studio SP1, and Wise Package Studio SP3

Workaround: Modify the Deactivate SVS Layer action by performing the following steps:
  1. Find the file <Wise Package Studio>\WiseScript Editor\Actions\Deactivate SVS Layer.wse and unmark the Read-Only attribute.
  2. Open the file Deactivate SVS Layer.wse in WiseScript Package Editor
  3. The first line in the script is "Set Variable _CTLFSLGUID_ to %_FSLGUID_%". These variables are in the incorrect order. Modify this line to read "Set Variable _FSLGUID_ to %_CTLFSLGUID_%".
  4. Save the .wse (it should not be compiled).
  5. Re-mark the Read-Only attribute on the file.

Supplemental Materials

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

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

Legacy ID



29531


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


Terms of use for this information are found in Legal Notices