October 6, 200322 yr hi!I Would be install a Programm silently that have only a Inf File for install...How i do this?Thanks for reply Posts!GoFrag
October 6, 200322 yr use the following command linerundll32.exe setupapi,InstallHinfSection DefaultInstall 132 inf pathif you run the installation from cmd or batch file consider addingstart /wait before the command
October 7, 200322 yr well from my personal expirience it doesn't cause a reboot but try it too just in case
October 7, 200322 yr You should use a combination of the following values for mode. You must include 128 to set the default path of the installation to the location of the INF, otherwise a system-provided INF is assumed. Add values to specify rebooting. Note that only the values 128 or 132 are recommended, other values may cause the computer to reboot unnecessarily or not reboot when required.0 System provided INF. 128 Set the default path of the installation to the location of the INF. This is the typical setting. +0 Never reboot the computer. +1 Reboot the computer in all cases. +2 Always ask the users if they want to reboot. +3 Reboot the computer if necessary without asking user for permission. +4 If a reboot of the computer is necessary, ask the user for permission before rebooting.128+4=132128 = silent with no reboothttp://msdn.microsoft.com/library/default....hinfsection.aspsorry for being a smarty pants .. just thought i'd mention it
October 7, 200322 yr damm you're good thanks for the info. i'm just installing a couple of audio and video codecs with this method and they probably don't require a restart so that's why i was lucky i'll change it 128 right away
October 17, 200322 yr use the following command linerundll32.exe setupapi,InstallHinfSection DefaultInstall 132 inf pathif you run the installation from cmd or batch file consider addingstart /wait before the commandsetupapi.dllsetupapi alone is no good.luckily there was another post by Numinous with the correct syntax so I could figure it out.I suppose it would have been obvious to any advanced user but I was going crazy...
Create an account or sign in to comment