NSIS 调用rundll32 advpack.dll运行一个驱动安装文件.inf
ExecWait 'RunDll32 advpack.dll,LaunchINFSection "$EXEDIRyou.inf",DefaultInstall'
该命令的语法:rundll32 advpack.dll,LaunchINFSection ,<安装节(可选)>
比如:
先要彻底删除MSN
RunDll32 advpack.dll,LaunchINFSection %windir%INFmsmsgs.inf,BLC.Remove
针对驱动类可参考
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 C:WINDOWSINFSHELL.INF
THE END
暂无评论内容