Repackaging/edit a device driver via Installsheild
I need to repackaging/edit a device driver, and my tools is Installsheild , i need help on steps. Thanks
besides silent command line via the exe.
Answers (1)
I have found the best way to do this is to carry out a separate driver installation from the command line. When installing with an msi you might sometimes get a PnPDriverImportError.
First secure the inf and other files from the directories in C:\Windows\System32\DriverStore\FileRepository after doing a manual install. Subsequently you can put the inf and necesssary files into a single [INSTALLDIR] for installation (different drivers can be put into one dir als long as there are no identical file names).
Use dpinst32.exe or dpinst64.exe on resp. 32-bits and 64-bits OS with the following syntax:
.\dpinstXX.exe" /SW /path "[INSTALLDIR]"