Archive: Script


Script
I would like to find out as for how to I write a script to register an ocx file


http://nsis.sourceforge.net/Docs/AppendixB.html#B


Script giving en error
Thanks for ur responsei really appriciate that, but still my script is not working its giving me an error which says
that the dll is not found,this is my script

!insertmacro InstallLib REGDLL NOTSHARED REBOOT_NOTPROTECTED TwainControlX.ocx $C:\TwainControlX.ocx $C:\


$ introduces a name of a variable.

So use this:


!insertmacro InstallLib REGDLL NOTSHARED REBOOT_NOTPROTECTED TwainControlX.ocx C:\TwainControlX.ocx C:\


(Although I think it's not a good idea to 'hard wire' an ocx file to c:\...)

Cheers

Bruno