Archive: install xvid codec with inf and dll


install xvid codec with inf and dll
Hello,

i would like to install the xvid codec.
i have this 3 files:
xvid.inf
xvidcore.dll
xvidvfw.dll

but i don't know how to do it thanks to nsis. By hand i do a right click on the inf file and run install entry.

Is someone already did it ?

Guillaume


i found a first way :
rundll32.exe advpack.dll,LaunchINFSectionEx .\<file>.inf,,,4

now i have to found how to unsinstall it ... and how to use nsis system call.


ok here is my solution :
to install codec :
ExecWait 'rundll32.exe advpack.dll,LaunchINFSectionEx .\xvid.inf,,,4'

to uninstall :
ExecWait 'rundll32.exe setupapi,InstallHinfSection Remove_XviD 132 C:\WINDOWS\INF\xvid.inf'