BizTalk Server General - Automating COm+ Component

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > November 2004 > Automating COm+ Component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Automating COm+ Component
KritiVerma@hotmail.com

2004-11-10, 5:48 pm

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
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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com