Click here to Skip to main content
15,923,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I just need to install iis on any machine programatically.
So could anyone please help me how to install it using c#.
please provide me any reference for this.








Thanks
Chitresh
Posted
Updated 28-Sep-16 21:18pm
Comments
midnight_ 24-Jul-13 6:51am    
Why do you need IIS on every machine?
Maybe you got something wrong, please provide more information.

File sysocmgr.exe is located in the folder C:\Windows\System32. sysocmgr.exe is a Windows system file. sysocmgr.exe is a Microsoft signed file.

So writing console program in c# is just open visual studio and click on new console application template.once opned you will find below type of proram

{
public static void Main(string[] args)
{
System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = "sysocmgr.exe";
Proc.Start();
}
}

once you will run this program it will ask for iis server CD for installation
 
Share this answer
 
 
Share this answer
 

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