Last post Nov 03, 2008 08:50 AM by PareshDehadray
Nov 03, 2008 08:09 AM|PareshDehadray|LINK
I am developing such an application in ASP.Net (using C#.Net) which copy a dll file on remote machine and register it. I am using
System.Management namespace for it. Currently I am using “Create” method of “\\root\\cimv2:Win32_Process” WMI call which runs “regsvr32.exe” command on remote machine. By this I am able to register the file but I am not able to get the
Exit Code of the regsvr32.exe command to know whether registration was successful or not. “ReturnValue” property of “output” of “Create” method returns 0 for failure or success of registration. Please let me know if I can register dll file directly by any
WMI call without using regsvr32.exe or any other solution.
Please let me know the other forum section if this section is not right for this question.
Thanks in advance [:)]
Nov 03, 2008 08:20 AM|ajaynagnoor|LINK
Please check the following link
Nov 03, 2008 08:50 AM|PareshDehadray|LINK
Thanks for quick reply. I think there are few security leaks in givn solution.
Please provide another solution which uses ASP.Net