Click here to Skip to main content
15,889,034 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi All,

I want to run MSI.dll.

I am able to get the output for local system, but I am unable to get the output for a remote system.
Kindly help through c# code.
Posted
Updated 13-Mar-11 22:35pm
v3
Comments
[no name] 14-Mar-11 3:36am    
What error it shows will executing it in remote system?
[no name] 14-Mar-11 3:39am    
do you want to load dll from user define folder or fix floder
Dalek Dave 14-Mar-11 4:35am    
~Minor Edit for Readability.

If you are trying to remotely install software on a PC, then I suspect it is not as easy as just "executing MSI.DLL" on a different PC. Google for "Remote Installation" and you should find relevant info. Don't expect it to be easy though, OS Security is against you here!
 
Share this answer
 
Comments
Albin Abel 14-Mar-11 4:10am    
Good suggestion. My 5
Dalek Dave 14-Mar-11 4:35am    
Good Call.
Sergey Alexandrovich Kryukov 14-Mar-11 13:17pm    
Good, my 5.
--SA
This may be a long shot but by what you said in your question I take it the installation is run as a console application (else you'd have to explain what you meant by "get the output"). If you want to capture console output when running a remote process you might consider using Mark Russinovich's Sysinternal Tool PsExec[^] command. It will let you run a command on a remote machine while dumping the output of the process on your local PC. You'll need sufficient rights though to do that, but PsExec lets you pass user and password in its invokation.

I have done stuff like that with PsExec before, but must admit it was on a LAN in a subnet, so I didn't have any issues with firewalls. Your results may vary :).

Best of luck!
 
Share this answer
 
Comments
Espen Harlinn 17-Mar-11 9:53am    
My 5 - PsExec is a nice tool :)
Manfred Rudolf Bihy 17-Mar-11 10:29am    
Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900