I have configured Indexing Service to index my files, which also include scanned images saved as hi-res TIFF files. I also installed MS Office 2003+ and configured MS Office Document Imaging (MODI) correctly, so I can perform OCR on my images and even embed the OCR'd text into TIFFs.
Indexing Service is able to index and find those TIFF-s that were manually OCR'd and re-saved with text data (using MS Document Imaging tool).
Turns out, Data Execution Prevention (DEP) which is deployed with Windows XP SP2 thinks MODI is malicious and refuses to let it do its magic. I have been able to get it to work by turning DEP off completely, but I found this solution to be inelegant.
Is there a better solution to make this work, without disabling DEP?
Disable DEP for specific applications.
How to Disable DEP for Specific Applications
Click Add and use the browse feature to browse to the program executable you want to exclude—for example, excel.exe or word.exe.
Depending on your version of Windows, you may need to access the System Properties dialog box by right-clicking This PC or Computer from Windows Explorer.
Exclude:
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPOCRDC.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPSCAN.EXE
C:\Program Files\Common Files\Microsoft Shared\MODI\11.0\MSPVIEW.EXE
Additional information not part of the answer:
To obtain and install MODI on newest versions of Windows see:
"Microsoft Office Document Imaging – Office 2010 to Office 2016"
References:
"Exclude Programs From DEP (Data Execution Prevention)"
"Microsoft Office Document Scanning error"
MODI is part of (free) "Microsoft SharePoint Designer 2007".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With