July 28, 200422 yr Does anybody know if it is possible to install your hardware by giving a dos-command to a .inf file? if so....how?
July 28, 200422 yr I heard it should be possible using this command in a batch file: C:\windows\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 d:\$oem$\$1\drivers\000\xxx.infHowever, there seems be something wrong with it but I don't know what. Anyone else?
July 28, 200422 yr 1. There may not be a DefaultInstall section in the INF, it fails.2. If it does anything, it will most likely only copy over the files to system32 but not actually initialize the hardware.3. If it does initialize the hardware, it may initialize every instance of it in the INF as it doesn't know what to do.
July 29, 200422 yr Author So Alanol, do you have an alternative suggestion for me.My main problem was that I couldn't get my hardware installed by the winnt.sif file.So I thought...ok, after first login I'll have the unattend call a batch-file and in the batch-file would have to trigger the installation.
Create an account or sign in to comment