Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing IIS through Delphi code

I'm developing an Inno Setup installer and I need to manage an IIS server from my delphi code. I've googled how to add/remove ISAPI filters and how to create a virtual folder. However, I still need to be able to add/remove/list ISAPI extensions and create/remove websites. So my question is how can I do that?

like image 917
Roman Prykhodchenko Avatar asked Apr 22 '10 20:04

Roman Prykhodchenko


1 Answers

IIS admin has a scripting interface, you should be able to call from either Delphi or InnoSetup or a combination of both:

http://msdn.microsoft.com/en-us/library/ms526050(VS.90).aspx

like image 51
Stijn Sanders Avatar answered Oct 13 '22 10:10

Stijn Sanders