Error: "No matching % for a variable name"

Article:TECH36356  |  Created: 2007-10-23  |  Updated: 2008-10-02  |  Article URL http://www.symantec.com/docs/TECH36356
Article Type
Technical Solution


Issue



Error: "No matching % for a variable name."

Environment



Wisescripts

Wise Package Studio
Wise Installation Studio
Wise Installation Systems


Cause



Has a percentage before a string within the registry key value.

Solution



Need to pre-append another percentage in front of the existing percentage.

For example, let's compare registry key values to demonstrate:

%Test  ~ Will not allow you to compile
%%Test ~ Will allow you to compile

It will only install %Test on the box. The extra percentage is to notify Wise Installer that the % is not intended to reference a variable.

Note: This behavior will happen in registry keys, INI file, Insert Line in text file, Display Message, Custom Dialogs or in any location where a variable can be referenced.


Legacy ID



38907


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


Terms of use for this information are found in Legal Notices