Stop Task if Current User is not Logged In

(imported topic written by carroll91)

I am having difficulty configuring my relevance so the job stops if the current user is not logged on and the job waits for the user to log on to run. Can anyone offer some assistance. I’m desperate - as usual to get this task run for 500 + people. Run now the job runs as complete eventhough the user is logged off and the software does not actually get installed. Thanks!

download http://bigfix.bcferries.corp:52311/Uploads/5b17f5b18b60e8fc53b9138019c852e6551f03a7/InstallFiles.tmp

continue if {(size of it = 245605797 AND sha1 of it = “5b17f5b18b60e8fc53b9138019c852e6551f03a7”) of file “InstallFiles.tmp” of folder “__Download”}

extract InstallFiles.tmp

DOS copy “__Download\uninst.ini” “C:\Program Files\Common Files\Cognos Shared\cer4\Uninstall\uninst.ini”

waithidden “C:\Program Files\Common Files\Cognos Shared\cer4\Uninstall\uninst.exe” -u -s “C:\Program Files\Common Files\Cognos Shared\cer4\Uninstall\uninst.ini”

waithidden MsiExec.exe /X{{0EAE6D6C-6621-4C80-A529-24D5049F8100} /qn

wait __Download\RunAsCurrentUser.exe --w __Download\Planning_Client_8.4\win32\issetup.exe -s response.ats

wait __Download\RunAsCurrentUser.exe --w __Download\C8_Plan_Client_8_4_Win32_FP001\win32\issetup.exe -s response.ats

(imported comment written by labuski91)

did you try selecting “run only when selected users are logged in” in the user’s tab of the task?

you could also try making it an offer and when they log in and see it pop up they can accept the offer.

(imported comment written by carroll91)

Thanks labuski. I will try those options. I must admit that I completely forgot about them in my rush here.

Cheers,

Carroll.