I am trying to force the install of a local printer driver and it fails with the message below. I have attempted this a number of ways but this was the most simple method I could use to simplify the diagnostic process. The files are located under c:\test and the .inf file name is correct. I have attempted this with the full path to the .inf file name and it gives me the same error every time. NET HELPMSG 87 gives me a result of "the parameter is incorrect"
C:\WINDOWS\system32>cscript prndrvr.vbs -a -m "TEST" -h "c:\test" -i "hpc2550c.i
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Unable to add printer driver TEST Win32 error code 87