Archive: Alfonso Olivares


Alfonso Olivares
Hello:

How can I, register files *.ocx of VB4 in the nsis?

I have the next code:

register run time (*.dll)
!insertmacro UpgradeDLL "d:\criterial\setupwiz\olepro32.DLL" "$SYSDIR\olepro32.DLL"

register files (*.OCX)
RegDLL "d:\criterial\setupwiz\tabctl32.ocx"

thank


I think


RegDLL "$SYSDIR\tabctl32.ocx"


Will do the trick

There is no need, UpgradeDLL does the registration too. But in case it didn't, Lobo's code would have worked.