If you install some windows program to your wine and having trouble in installing dll and ocx to your wine, do it manually.
For Registering:
—————-
wine regsvr32 foo.dll
wine regsvr32 foo.ocx
For Unregistering :
——————-
wine regsvr32 /u foo.dll
wine regsvr32 /u foo.ocx
you can do it as user that wine is installed or as a super user.