Skitso Posted July 28, 2004 Share Posted July 28, 2004 Does anybody know if it is possible to install your hardware by giving a dos-command to a .inf file? if so....how? Link to comment Share on other sites More sharing options...
Don Juan Posted July 28, 2004 Share Posted July 28, 2004 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? Link to comment Share on other sites More sharing options...
Alanoll Posted July 28, 2004 Share Posted July 28, 2004 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. Link to comment Share on other sites More sharing options...
Skitso Posted July 29, 2004 Author Share Posted July 29, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now