NISetVar - Example
Set values
NiSetVar("ni_current_user",
"CUser")
The variable ni_current_user
gets the set value CUser. (The return
value will not be interpreted.)
Return values
A = NiSetVar("ni_something",""&vbvariable&"")
The result is:
1. The variable ni_something
gets the value of the external variable vbvariable.
2. The command creates the return value TRUE
if the value was returned correctly, if not FALSE.
You can interpret the returned value, for example, by querying the VB script.
You can also assign the value to another variable and interpret
the value in a NetInstall script.
The VB scripting syntax ""&vbvariable& "" defines that the variable vbvariable , not the string "vbvariable" gets the value.