Dear,

Try following code:
code:
IF (@userid = 'wrights')
IF NOT Exist("c:\essbase_1\bin\essexcln.xll")
USE k: "\\essbase_1\essclnt"
IF (@error <> 0)
? "Error KIX-USE: error @error (@serror)"
ENDIF
SHELL '%comspec% /c start /w "k:\essbase502\502p13\setup.exe" '
IF (@error <> 0)
? "Error KIX-SHELL: error @error (@serror)"
ENDIF
ENDIF
ENDIF

We replace RUn by SHELL command.
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA