(imported topic written by ppomeroy91)
I’m trying to create a Software Deploy Task to run a bat file. It is “almost” complete. You guys can probably tell me right away what I have wrong. Here’s the Command in the Task:
continue if {(size of it = 605830 AND sha1 of it = “3ab08e00e7f2761e09602ccd0fcc8292bae359d4”) of file “App.tmp” of folder “__Download”}
extract App.tmp
wait cmd.exe /C “{{(pathname of client folder of current site) _Download\RunCleanWipe.bat”}
Here’s the log file. It appears to be successful and the Action reports Completed however it is not actually “running” the bat file and doing what it’s supposed to (remove the software). The files ARE being downloaded.
At 10:32:42 -0500 -
SetupListener completed successfully
At 10:32:45 -0500 -
User interface process started for user ‘administrator’
At 10:33:44 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Relevant - Software Distribution - Deploy: SCSCleanWipe-3 (fixlet:249)
At 10:33:44 -0500 -
ActionLogMessage: (action 249 ) Action signature verified
ActionLogMessage: (action 249 ) Non-Distributed - DownloadsAvailable
ActionLogMessage: (action 249 ) starting action
At 10:33:44 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Using download manager collected file) download http://bigfixsvr.BurstHQ.burstmedia.local:52311/Uploads/3ab08e00e7f2761e09602ccd0fcc8292bae359d4/App.tmp (fixlet 249)
At 10:33:45 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (evaluated true) continue if {(size of it = 605830 AND sha1 of it = “3ab08e00e7f2761e09602ccd0fcc8292bae359d4”) of file “App.tmp” of folder “__Download”} (fixlet 249)
At 10:33:46 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded extract App.tmp (fixlet 249)
At 10:34:31 -0500 -
Report posted successfully.
At 10:34:32 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=1) wait cmd.exe /C “{(pathname of client folder of current site) _Download\RunCleanWipe.bat”} (fixlet 249)
At 10:34:33 -0500 -
ActionLogMessage: (action 249 ) ending action
At 10:34:33 -0500 - actionsite (http://bigfixsvr.BurstHQ.burstmedia.local:52311/cgi-bin/bfgather.exe/actionsite)
Not Relevant - Software Distribution - Deploy: SCSCleanWipe-3 (fixlet:249)
At 10:40:20 -0500 -
ForceRefresh command received. Version difference, gathering action site.