Programmically installing TCP/IP and other network components

HI everyone, can someone please tell me how i can programmically install
TCP/IP, and other network components programmicaly in delphi for use on
win95/98 plz?

and also how do u make the install modem wizard thing come up, lets say  u
write a program that will detect if a modem is installed, and if it detects
a  modem but no drivers hwo to u make it so the add/remove program applet
will start at the position where it asks if you want to auto detect to modem
or not,

thanks