Hi Rudy and Mihai,
I followed steps as Rudy said,
I changed all of my custom actions, which started and stopped the services, to 'deffered with no impersonation'. I also set the execute condition to include 'PATCH'. The scripts were also set to 'modify/repair' as the patch is seen a modifing the application.
In my script i want to create new database using the patch script,but i get ODBC Connect : timeout exceeded exception,
Can you please tell me any alternative, regarding this script running through patch.