Installing the Datapump driver files on Windows NT. & Windows 2K

by 
R. Angstadt 
11/27/2001
(last changed: 12/6/2001)

Introduction (Goal):
To install drivers to allow the datapump spreadsheets to use a parallel EPP port to communicate with the datapump.

(Note: mbyte32.dll (from d0server4\users\angstadt\ioms\mbyte32\debug\is for win 9x/Millenium ect. and goes into c:\windows\system. Thats all for Win 9x! Note that mbyte32.dll will not work on NT and/or Win 2K!)

The rest is For NT Version 4.x and/or Win 2K. (Sorry, No experience yet with any form of Win XP)

Assumptions are you have (full: including being able to edit the registry) administrator privledges on the target machine and that NT and/or 2K are installed in the following (root) path: "c:\winnt". (if not then please substitute your root path "c:\winnt" as needed below.)

1. Copy files you need:
Copy from:  To: 
  d0server4\users\angstadt\ntutil\ntio\debug\ntio.dll    c:\winnt\system32\ntio.dll 
  d0server4\users\angstadt\b6nt\sys\giveio.sys    c:\winnt\system32\giveio.sys 
  d0server4\users\angstadt\b6nt\sys\instdrv.exe    c:\any_(temp)_directory_you_want\instdrv.exe 
 

2. Install the driver (in the registry still logged in as administrator):
Open up a command prompt and from the sub-directory where "instdrv.exe" is and type:
    "instdrv giveio c:\winnt\system32\drivers\giveio.sys"

You should get back 3 lines with "success..." in the
first word of each line. If you don't then something went wrong....
You can undo whatever went wrong by typing in the command prompt:
    "instdrv giveio /remove"
and repeat these steps as necessary until the filespech is correct the way you want it and with "success.." in the first word of each line as above.

This says to NT V4.x and/or Win 2K that there is a driver with the logical name of
"giveio" and it can be found in c:\winnt...blah blah blah (wherever!). So it puts a
"giveio" entry in the registry which will be needed later. (Better than doing all of the registry editing by hand as in step 3.b. below.)

3. Set the drivers to start at boot time automatically:
  a.  If You are running NT V4.x then drill down to "Devices"
      by double clicking each of the following (starting from the "Desktop") on:
         "My Computer"
           "Control Panel"
               "Devices"
     then scroll down to "giveio" and select it by clicking on it and then click on the Startup"
     button and then click on the "Automatic" (radio) button and then the "OK" button and then "Close" button.
     (Note: if giveio is not there then reboot and repeat this step. If it is still not there then
     go back to the previous step.)

  b.  If you are running Win 2K you will have to edit the registry as giveio will
     (most probably) no longer appear in the "Devices" list.
     You can (still) do the last step by editing the registry
     (with regedit or whatever) as administrator and do a
     search for "giveio" which for NT should be in:

     "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\giveio"

   (note that the above is exact on my machines (without the quotes) butt if one is
   running from a different "ControlSet" than that obviously should be changed instead and/or as well!
   (if in doubt all instances should be edited).)

     You need to change the "Start" value from 0x03 (manual) to 0x02 (automatic).

4. Reboot.
After booting you're done! You should now be able to copy the spreadsheet to a local directory and run it o.k. Note that failure to reboot will mean the driver will not be started. "Automatic" in the above step means the driver will start sometime during the boot sequence.