I'm trying to quietly install an INF-file from a batch script with the help of:
C:\>%SystemRoot%\System32\rundll32.exe advpack.dll,LaunchINFSectionEx "D:\imdisk.inf",,,4
... as documented here:
This seems to work partly, meaning that the control panel applet and the user land CLI-application gets installed. However, trying to run these results in a complaint about the driver missing:
C:\>imdisk -a -s 33M
The ImDisk Virtual Disk Driver is not installed. Please re-install ImDisk.
Then doing this procedure from explorer.exe (right-click the .inf-file -> Install) it works as a charm. What am I missing?
The software in question is ImDisk, found here:
Also, the platform I'm trying to run this on is Windows XP SP3 x86. The user has admin-rights.