Does anyone know that how to detect a mahcine to see if it has the IIS installed?

And how to configure the IIS on other machines by providing them only a cd-rom with the IIS application?

Please reply me......thank you very much