Cann't get the RunAsCurrentUser to work

(imported topic written by Marty23)

SO I’ve created a task to to download a and expand a directory that contains two files (KronosCoreValues.exe and RunAsCurrentUser-2.0.2.exe) and then to run the KronosCoreValues.exe program. The download and expand works just fine, but the then I get a fail.

Any help would be great!

download http://BigFix.Kronos.com:52311/Uploads/88d9630e16d6bd2116522f63781ffea71f88c020/KronosCoreValues.tmp

continue if {(size of it = 1177500 AND sha1 of it = “88d9630e16d6bd2116522f63781ffea71f88c020”) of file “KronosCoreValues.tmp” of folder “__Download”}

extract KronosCoreValues.tmp

waithidden __Download\RunAsCurrentUser-2.0.2.exe cmd.exe /C __Download\KronosCoreValues.exe /VERYSILENT

Software Distribution - Deploy: Kronos Core Values

KLT-US-MAMARAL

Summary

The action failed.

This action has been applied 1 time and will not be applied again.

Status Failed

Start Time 3/31/2010 11:42:27 AM

End Time 3/31/2010 11:42:32 AM

Action Script Execution Detail

Completed download http://BigFix.Kronos.com:52311/Uploads/88d9630e16d6bd2116522f63781ffea71f88c020/KronosCoreValues.tmp

Completed continue if {(size of it = 1177500 AND sha1 of it = “88d9630e16d6bd2116522f63781ffea71f88c020”) of file “KronosCoreValues.tmp” of folder “__Download”}

Completed extract KronosCoreValues.tmp

Failed waithidden __\Download\RunAsCurrentUser-2.0.2.exe cmd.exe /C __Download\KronosCoreValues.exe /VERYSILENT

(imported comment written by Marty23)

I finnally got it!!

download http://BigFix.Kronos.com:52311/Uploads/88d9630e16d6bd2116522f63781ffea71f88c020/KronosCoreValues.tmp

continue if {(size of it = 1177500 AND sha1 of it = “88d9630e16d6bd2116522f63781ffea71f88c020”) of file “KronosCoreValues.tmp” of folder “__Download”}

extract KronosCoreValues.tmp

waithidden __Download\RunAsCurrentUser-2.0.2.exe --w __Download\KronosCoreValues.exe /VERYSILENT