Automatically installing Fax service programmatically from an installation program

  • Thread starter Thread starter Robert Freas
  • Start date Start date
R

Robert Freas

Hi,

Does anyone know how to install the Windows Fax Service for the
various OSes programmatically from an installation program? I would
need to do this for both WinXP, Windows 2000, and Windows 2003 OS
flavors. Specifically, the API I am using is the old FAXCOM API (not
the new, extended one that comes with XP Pro).

Thanks,

Rob
 
You cannot install fax using fax API. How is the support for fax api going
to reside on the system if fax is not installed? :-)

The simplest way to install optional windows component is use the
sysocmgr.exe tool. The following is valid for windows xp, windows Server
2003.
Fax is already installed on Win2K. In Win2K when the system detects an
analog fax modem fax is enabled. You don't have to do the following on
win2k.
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\faxinstall.txt /q

Create c:\faxinstall.txt with the following two lines.
[Components]

Fax=on



More information on this at Microsoft Product support site:
http://support.microsoft.com/default.aspx?scid=kb;en-us;222444

--
Shyama Hembram
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Shyama,

Thanks for the reply!

Yes, I wasn't suggesting to use the Fax API to install itself--I was
wondering how to tell the OS to install the Fax components. :)
Alright, I will look into the stuff you suggested.

Thanks much!

Rob

Shyama said:
You cannot install fax using fax API. How is the support for fax api going
to reside on the system if fax is not installed? :-)

The simplest way to install optional windows component is use the
sysocmgr.exe tool. The following is valid for windows xp, windows Server
2003.
Fax is already installed on Win2K. In Win2K when the system detects an
analog fax modem fax is enabled. You don't have to do the following on
win2k.
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\faxinstall.txt /q

Create c:\faxinstall.txt with the following two lines.
[Components]

Fax=on



More information on this at Microsoft Product support site:
http://support.microsoft.com/default.aspx?scid=kb;en-us;222444

--
Shyama Hembram
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.


Robert Freas said:
Hi,

Does anyone know how to install the Windows Fax Service for the
various OSes programmatically from an installation program? I would
need to do this for both WinXP, Windows 2000, and Windows 2003 OS
flavors. Specifically, the API I am using is the old FAXCOM API (not
the new, extended one that comes with XP Pro).

Thanks,

Rob
 
Back
Top