Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Can you install drivers from the command line?

- - - - -

  • Please log in to reply
3 replies to this topic

#1
LeveL

LeveL

    Senior Member

  • Member
  • PipPipPipPip
  • 551 posts
  • Joined 30-September 05
I have a big problem with getting the sound driver to install in VMware
using Server 2003. I am using Bashrat the Sneaky driverpacks to solve
99% of the driver problems, but there is one simple problem, this device:

Creative Sound Blaster AudioPCI 128D (WDM)

All I want to know is - if I get hold of the SYS and INF files to install
this device, is there any way on the command line to make it do a
silent install of this device without having to do it manually in Device
Manager?

I know what the driver files are (wdma_ens.inf and es1371mp.sys)
and and I know from "re-installing" the device in Device Manager,
this is all I need, two simple files, one INF, one SYS.

Since Windows is capable of installing device drivers with no user input
(the "OemPnPDriversPath" method in WINNT.SIF is exactly what I mean!)
then is this possible ANY other way - post-install?

I saw something on MSDN called "DPinst.exe" but I am not sure about this.


How to remove advertisement from MSFN

#2
LeveL

LeveL

    Senior Member

  • Member
  • PipPipPipPip
  • 551 posts
  • Joined 30-September 05
The ever helpful MSFN community strikes again, thanks for all the suggestions.

I have already tried to install this INF file the RunDll32 132 way and it wont install.

Edited by LeveL, 09 April 2007 - 03:48 PM.


#3
MadBoy

MadBoy

    Advanced Member

  • Member
  • PipPipPip
  • 467 posts
  • Joined 21-February 05
  • OS:none specified
  • Country: Country Flag

The ever helpful MSFN community strikes again, thanks for all the suggestions.

I have already tried to install this INF file the RunDll32 132 way and it wont install.


Try "devcon.exe". Search for it on Microsoft. Helpfull utility and probably something you looking for. With it you can force some stuff. And don't be an a** about help here. Ppl have holidays you know..

#4
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts
  • Joined 03-January 04
The answer is posted here

Hard drive folder
%SystemDrive%\Drivers\Media\wdma_ens
content
*.inf
*.cat
*.sys

command script
SetupCopyOEMInf.exe %SystemDrive%\Drivers\Media\wdma_ens
RunDll32.exe Syssetup.dll,UpdatePnpDeviceDrivers
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users