INFO: IPInst, IPDetect, and IPNew (233142)



The information in this article applies to:

  • Microsoft Windows 98, when used with:
    • the operating system: Microsoft Windows 95
    • the operating system: Microsoft Windows 98

This article was previously published under Q233142

SUMMARY

The IPInst sample for Microsoft Windows 95 detects or installs Transfer Control Protocol/Internet Protocol (TCP/IP). IPInst has been updated for Microsoft Windows 98 and is named either IPNew, or more correctly, IPDetect. There are a few configuration settings that must be made before building this sample.

MORE INFORMATION

The IPInst.exe file was developed for Windows 95 and was made available upon request or through the Microsoft Web site. The sample was updated for Windows 98, renamed, and placed on the Windows 98 Device Development Kit (DDK). IPInst can also be found at the following Web site: After installing the Windows 98 DDK, all files that are required to build this sample are located in the \98Ddk\Src\Net\Ipnew folder. Notice that IPNew is the folder name while IPDetect is the name of both the primary source file and the generated executable.

IPDetect is a 16-bit application and requires the Microsoft Visual C++ version 1.52 compiler. The compiler installs into the C:\Msvc folder. Edit the following files to point to the MSVC++ 1.52 build environment:
  • \98Ddk\Inc\Master.mk
    • C16_ROOT=C:\Msvc
  • \98ddk\Bin\Ddkvars.bat
    • set MSDevDir=C:\Msvc
    • set MSVCDir=C:\Msvc
To build IPDetect:
  1. On the Start menu, point to Programs, Development Kits, Windows 98 DDK, and then click Checked Build Environment. This opens a DOS window and you will get the following message:

    Installation of MSVC not detected!!!

    This message can be safely ignored.
  2. Change folders to Src\Net\Ipnew and type build. The output IPDetect.exe file is placed in the \98Ddk\Lib\I386\checked folder.
There is additional information regarding IPDetect in the Readme.txt file that is located in folder with the source files.

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

169580 HOWTO: Install Networking Components Programmatically

173342 How to Automatically Install TCP/IP in Windows 95

185783 SAMPLE: IPInst.exe Determines Whether TCP/IP Is Installed


Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbdocfix kbinfo kbnetwork KB233142