Bat file is not getting executed before patch

Hello,

I have a situation where I would like to execute .bat file before patch apply.I have selected the below condition:1) I have dragged the bat file in temp folder2) i have checked in Execute file... checked box. 3) I have selected radio box before updating has begun

I have done all the things whatever has suggested in the below linkhttp://wyday.com/wybuild/help/executing-files.php

Even though the bat file is not getting executed. But if i am doing double click on that bat file its executing so it means there is no permission issue.

Does anyone suggest a solution to this? _ Any help is really appreciated.

Thanks in advance,Sachin

Updating before updates works fine here. You need to provide us with a whole lot more information. Are you letting wyUpdate stop the update on failure? You should. Have you tried adding logging to the bat? You should.

Hi Wyatt,

Thanks for the reply.I found the issue the issue i.e.From the process i triggered wyupdate.exe i am killing the same process in .bat file. But before that all close process window triggers. Is there any way we can execute the .bat file before close process window?

Thanks in advance.

RegardsSachinU

Modify whatever script you're using to kill processes to not kill the processes you need. Or execute the scripts in a different folder.