| Jeff Lynch 2004-11-11, 7:46 am |
| Try something like this to "manually" register a COM+ AIC on your BizTalk
Server 2002 box. Save it as a .wsf file.
<!--
Microsoft BizTalk Server 2002
FTPAppendAIC Registration Script for Windows Server 2003
-->
<package>
<job id="Setup">
<script language="vbscript">
On Error Resume Next
Dim objWshShell
set objWshShell = WScript.CreateObject("WScript.Shell")
' Unregister the assembly
objWshShell.Run "C:\Windows\Microsoft.NET\Framework\v1.1.4322\regsvcs /u
bin\FTPAppendAIC.dll", , TRUE
' Register the assembly
objWshShell.Run "C:\Windows\Microsoft.NET\Framework\v1.1.4322\regsvcs
bin\FTPAppendAIC.dll", , TRUE
if 0 <> err.number then
WScript.Echo "Fail " + err.description
else
WScript.Echo "Registration completed"
end if
</script>
</job>
</package>
--
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/
"KritiVerma@hotmail.com" <KritiVermahotmailcom@discussions.microsoft.com>
wrote in message news:C2143906-8EEC-40A6-9603-D3794F247B56@microsoft.com...
>I need to Write a Script to register the Biztalk Com+ Component
>Automatically
> from one Server to another
>
> Please advice if their is a way to do this
>
> Thanks
> Samay
|