REGEDIT4 
[HKEY_CLASSES_ROOT\.dll] 
"Content Type"="application/x-msdownload" 
@="dllfile" 

[HKEY_CLASSES_ROOT\dllfile] 
@="Application Extension" 

[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command] 
@="regsvr32.exe \"%1\"" 

[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command] 
@="regsvr32.exe /u \"%1\"" 

[HKEY_CLASSES_ROOT\.ocx] 
@="ocxfile" 

[HKEY_CLASSES_ROOT\ocxfile] 
@="OCX" 

[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] 
@="regsvr32.exe \"%1\"" 

[HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command] 
@="regsvr32.exe /u \"%1\"" 