ok here is an example
[Files]
Source: "C:\Documents and Settings\Administrator\Desktop\vb tech\vbfiles\MSWINSCK.OCX"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
This will register the ocx while installation. You can play around with the flags at the end if you want. For more info refer to its documentation