Hi all,
I have a script that updates a program across on many computers company wide. Occasionally it needs to install updates of other programs but sometimes it definitely doesn't want to have administrator privileges itself - so I have called little scripts to install what is needed. This worked fine in 3.3.8.1. It seems to have changed in 3.3.10.2
As a test I wrote two very little scripts: TestRA
#RequireAdmin
MsgBox(0,"TestRA","This is running")
and Testnon
MsgBox(0,"Test","This is running")
then I wrote a script to call them.
$a=Run(@ScriptDir & "\testnon.exe")
$a1= "No"
if @error Then $a1="Yes"
$b= Run(@ScriptDir & "\testra.exe")
MsgBox(0,"Testing","Test non =" & $a & $a1& @CRLF &"Test ra=" & $b & @error)
$a=RunWait(@ScriptDir & "\testnon.exe")
MsgBox(0,"Test","Testnon = " & $a & @error)
$b= RunWait(@ScriptDir & "\testra.exe")
MsgBox(0,"Test","TestRA = " & $b & @error)
I have just installed the latest SCiTE.
Attached are the various output messages.
As you can tell Test RA didn't run either on Run or RunWait. Can anyone tell me what is wrong?
Any ideas gratefully received
Blessings
Graeme