Remote registration of a dll

Jan 21, 2013 at 1:57 PM

Is it possible to register a component dll, i.e. emulate regsvr32, on a remote computer using MSBUILD Extensions without introducing a command file?



Jan 21, 2013 at 8:43 PM

it's not the regsvr32 is the regsvcs i want to use remotly. Currently I will be using PsExec from the framowrok command line to use regsvcs remotely. It would be nice if i could do it from the extensions though.

Feb 16, 2014 at 5:50 PM
It's been a while, but would WMI help? Looking at the sample below you could try changing it to fire off what you need
<!-- Start the Calculator -->
    <MSBuild.ExtensionPack.Management.Wmi TaskAction="Execute" Class="Win32_Process" Method="Create" MethodParameters="@(WmiExec3)" Namespace="\root\CIMV2"> 
        <Output TaskParameter="ReturnValue" PropertyName="Rval2"/> 
    <Message Text="ReturnValue: $(Rval2)"/>
I guess these days the 'right' way may be to use some form of powershell remoting. A task for that might be a good edition.
Marked as answer by mikeFourie on 4/20/2014 at 6:41 AM