Other Components Install/Remove

LaunchINFSectionEx Function
Launches a section of an information (INF) file.

rundll32 advpack.dll,LaunchINFSection [file] , [section]

Ex: rundll32 advpack.dll,LaunchINFSection blah.inf,Uninstall

rundll32 advpack.dll,LaunchINFSectionEx nLite.inf,C,,4,N
nLite.inf,  the information file
         C, the section of the INF file to launch,
          , the fully qualified path of the cabinet file (CAB) that contains the INF file
        4, a flag value that specifies the installation mode (4 Quiet mode, no UI)
        N An optional fifth field specifies whether to reboot upon completion. If not present, the installer will reboot only if necessary (smart reboot).



InstallHinfSection Function

EX: rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\Inf\ie.inf

No comments:

Post a Comment