Archive: reg OCX in CommonFile


reg OCX in CommonFile
Hi !
I'am new user of NSIS. ;)
I try to install an OCX in program files\common file but..

I have comme OCX and DLL. Do I have to make a line by ocx? It's not possible to use like *.* ?

 Section "CommonFile"
createdirectory $COMMONFILES\Myfolder
!insertmacro InstallLib DLL $0 NOREBOOT_PROTECTED "Files\${PRODUCT_CODE}\Common\*.*" $COMMONFILES\Myfolder\*.* $INSTDIR

SectionEnd

Using RegDll to register each file name