Hi All
Aim:
To Perform the Automatic uninstallation of ISDN Network Miniport Driver
System : Windows NT
Problem
For Automatic Uninstallation of ISDN Network Miniport Driver , I am using following script to run
from batch file having following script.
setup.exe /f /i%systemroot%\system32\ncpashel.inf /T NTN_InstallMode = deinstall /T NTN_origination
= DEINSTALL /T NTN_Infname = oemsetnt.inf /T NTN_InfOption = MyDriver
But this fails the ISDN driver removal ,by looking into debug prints I see following print statement
on debug viewer
“UTILITY.INF: could not open NetworkCards key”
Cause in My inf in “RemoveAdapter” it gets proper path in NTN_Regbase global variable till
NetworkCards
Setup is not getting the Path to Network cards Key , so it fails to remove the driver.
Observation
But when I remove the Driver from Control Panel -> Network Adapters , Driver removes easily without
error from System
And in My inf in “RemoveAdapter” it gets proper path in NTN_Regbase global variable till
"HKLM/Software/Microsoft/Windows NT/CurrentVersion/Networkcards/"CardNumber
I think there is something missing in Parameters passed to setup exe for Network Card Removal
Any help or Pointers towards it will be of great help
Thanks and Regards
Deepak
Reposting Please help
-----Original Message-----
From: Deepak Godhwani [mailto:xxxxx@patni.com]
Sent: Monday, June 21, 2004 7:32 PM
To: ‘xxxxx@lists.osr.com’
Subject: Uninstallation Problem - Please help
Hi All
Aim:
To Perform the Automatic uninstallation of ISDN Network Miniport Driver
System : Windows NT
Problem
For Automatic Uninstallation of ISDN Network Miniport Driver , I am using following script to run
from batch file having following script.
setup.exe /f /i%systemroot%\system32\ncpashel.inf /T NTN_InstallMode = deinstall /T NTN_origination
= DEINSTALL /T NTN_Infname = oemsetnt.inf /T NTN_InfOption = MyDriver
But this fails the ISDN driver removal ,by looking into debug prints I see following print statement
on debug viewer
“UTILITY.INF: could not open NetworkCards key”
Cause in My inf in “RemoveAdapter” it gets proper path in NTN_Regbase global variable till
NetworkCards
Setup is not getting the Path to Network cards Key , so it fails to remove the driver.
Observation
But when I remove the Driver from Control Panel -> Network Adapters , Driver removes easily without
error from System
And in My inf in “RemoveAdapter” it gets proper path in NTN_Regbase global variable till
"HKLM/Software/Microsoft/Windows NT/CurrentVersion/Networkcards/"CardNumber
I think there is something missing in Parameters passed to setup exe for Network Card Removal
Any help or Pointers towards it will be of great help
Thanks and Regards
Deepak