Install an assembly into the GAC on a remote machine using XCOPY deployment

  • Thread starter Thread starter Mike Miller
  • Start date Start date
M

Mike Miller

I am trying to install an assembly onto a remote machine using XCOPY
deployment or similar - is this possible? If not is there some other
way to make install an assembly into the gac on a remote machine thru
a console task? When you deploy to a large number of servers no one
should have to use remote desktop to "install" the application on each
server - you should be able to copy it out or use an API (like the
COM+ Administration SDK) to manipulate remote computers. Microsoft
came close in .NET to catching Java's ease of deployment, but I think
they forgot this.
Mike
 
In general, this is what SMS, group policy deployment, active directory and
advertised products are all about. Group Policy sounds like your best bet,
based on an MSI setup.
I think Microsoft say that deployment is Xcopy-like, not literally that you
should use XCopy. You couldn't really do XCopy into the GAC anyway.
 
Mike Miller said:
I am trying to install an assembly onto a remote machine using XCOPY
deployment or similar - is this possible? If not is there some other
way to make install an assembly into the gac on a remote machine thru
a console task?

There is an API for installing into the GAC programmatically. See MSKB
317540, InstallAssembly(). AFAICT these only work locally, but you can
write your own remoting or DCOM wrapper to allow remote instantiation.

-- Alan
 
Back
Top