A cheap-trick for schemas is that you can usually just recompile them and copy the .DLL directly to the GAC (as long as you don’t change critical fields like the root element and the target namespace).
But to answer your questions:
1. To stop orchestration – see sample:
\”c:\\Program Files\\Microsoft BizTalk Server 2004\\SDK\\Samples\\Admin\\WMI\\Stop Orchestration\\VBScript\\StopOrch.vbs\”
2. To undeploy, create a .bat or .cmd file with statements something like this:
BTSDEPLOY REMOVE SERVER=\”YOURSQLSERVER\” DATABASE=\”BiztalkMgmtDb\” NAME=\”Compassion.Biztalk.Pipelines.Common.dll\”
It’s not too hard to write a VBScript to generate the .cmd file for you.
Undeploy is weird to me, you must specify either the assembly path (the fully qualified .DLL name) or the assembly \”name\” (without the .dll suffix) and version number.
See this page of Biztalk Help:
ms-help://BTS_2004/Deploying/htm/ebiz_asdepl_howto_lwlp.htm
You can also run the Deployment wizard one time, and on the last screen it will show you the syntax. You can copy/paste it into a text file for creating your .bat/.cmd file.
Neal Walters
http://Biztalk-Training.com