Driver Package Installer (DPInst) version 2.1 is a component of Driver Install Frameworks (DIFx) version 2.1.
DIFx simplifies and customizes the installation of driver packages for devices that have not yet been installed in a computer.
This type of installation is commonly known as a software-first installation.
DPInst searches for INF files for driver packages in the DPInst working directory.
By default, the DPInst working directory is the DPInst root directory, which is the directory that contains the DPInst executable (DPInst.exe).
You can use the /path DPInst command-line switch to specify a custom DPInst working directory.
For each driver package that is installed by DPInst,DPInst adds an entry to Programs and Features in Control Panel.
Users can select this entry within Programs and Features to remove the driver package from their computers.
If a user removes a driver package, the package is removed from the DIFx driver store, the corresponding INF file is removed from the system INF file directory, and all the devices that were previously supported by the package are updated with the next best available driver.
DPInst records high-level messages in the DPInst log file (%SystemRoot%\DPINST.LOG).
The log file is a plain-text file that contains information and error messages and identifies the driver package that was being installed when an error occurred.
DPInst Command-Line Switches - Click Here
Installation :-
Option Explicit
On Error Resume Next
Dim strCmd,WshShell,strInstalldir
Set WshShell = CreateObject("WScript.Shell")
strInstalldir = WshShell.ExpandEnvironmentStrings( "%SYSTEMDRIVE%" )
strCmd = chr(34) & strInstalldir & "\snb\apps\blp\DriverFiles\DPInst_x64.exe" & chr(34) & " /F /LM /S"
WshShell.Run strCmd
Set WshShell = Nothing
Uninstallation :-
Option Explicit
On Error Resume Next
Dim strCmd,WshShell,strInstalldir,strcmd1, strcmd2
Set WshShell = CreateObject("WScript.Shell")
strInstalldir = WshShell.ExpandEnvironmentStrings( "%SYSTEMDRIVE%" )
strcmd= chr(34) & strInstalldir & "\snb\apps\blp\DriverFiles\DPInst_x64.exe" & chr(34) & " /S /U " & chr(34) & strInstalldir & "\snb\apps\blp\DriverFiles\ATTchWDF.inf" & chr(34) &" /D"
WshShell.Run strCmd
Set WshShell = Nothing
Download the DPInst.exe file according to your OS Architecture requirnment and update in VBScript too.
DPInst_x64.exe
DPInst_x86.exe
More detailed Arical on Symentec website - Click Here
Thank you for reading.
I value the blog post.Really looking forward to read more. Really Cool.
ReplyDeleteSAP Grc training
SAP Hana training
SAP mm training
SAP pm training