Make sure you are installing Ranger with Administrator permissions. If this problem continues then this is most likely a result of corrupt MFC v7 Redistributables. To resolve this problem, unzip and copy the attached files into the system directory. Then reboot the computer. As a safety measure it may be a good idea to make a backup copy of the original files.
System directory 32bit OS:
C:\Windows\system32\
System directory 64bit OS:
C:\Windows\SysWOW64\
Assuming the installation completed otherwise you may just need to register the Ranger.ocx file. The link below should help with this.
As the Ranger for Panini scanner installer may have been run multiple times the link below may be useful.
If you are not able to replace the files because they are in use then you will need to exit or kill any process that is using the dll files. If you do not know what process is causing the issue then you can try to use "tasklist" command in a command prompt. Examples are listed below.
Display process list with their loaded modules (dll etc).
C:\>tasklist -m
---example output---
OUTLOOK.EXE 1588 ntdll.dll, kernel32.dll, OUTLLIB.dll,
MSVCRT.dll, ADVAPI32.dll, RPCRT4.dll,
Secur32.dll, COMCTL32.dll, GDI32.dll,
USER32.dll, SHLWAPI.dll, ole32.dll,
IMM32.DLL, mso.dll, uxtheme.dll, MSCTF.dll,
msctfime.ime, outllibr.dll, OLEAUT32.DLL,
...
List processes that have a specified module loaded
C:\>tasklist -m outllib.dll
Image Name PID Modules
========================= ====== =============================================
OUTLOOK.EXE 1588 OUTLLIB.dll