none
How can I install the 32 bit Office Filter Pack on a 64 bit system? RRS feed

  • Question

  • I want to use the IFilter interface to extract and then search the text from different documents. The IFilter interface fits this need perfectly, but there is an issue with 32/64 bit components.

    The host OS is 64-bit. The application is 32-bit. I want to extract text from a .docx file, so I try to install the 32-bit Office 2010 Filter Pack. The installer fails with a message: 'The MSI Installer type does not match the platform  architecture.'

    When I install the 64-bit version of the Filter Pack, the 32-bit dlls are not installed so the filters are still not available. How do I install the 32-bit filters on a 64-bit system?

    Other IFilters like for example Pdf IFilter works perfectly.

    Thanks & regards

    Rui

    Wednesday, April 10, 2013 12:12 PM

Answers

  • I found a way to install docx Filter Pack 32bits in a 64bits OS. To other file formats is similar.

    1. Install Filter Pack 32 bits in a 32bits OS;
    2. Copy ifilters files in directory “C:\Program Files\Common Files\Microsoft Shared\Filters” from 32 bits OS to the a directory “C:\Program Files (x86)\Common Files\Microsoft Shared\Filters” in 64bits OS.
    3. Copy the following lines to a file “ifilter.reg” and execute the file:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.docx\PersistentHandler]

    @="{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}]

    @="Office Open XML Format Word Persistent Handler"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered]

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}]

    @="Office Open XML Format Word Persistent Handler"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{5A98B233-3C59-4B31-944C-0E560D85E6C3}\InprocServer32]

    @="C:\\Program Files (x86)\\Common Files\\microsoft shared\\Filters\\offfiltx.dll"

    "ThreadingModel"="Both"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{5A98B233-3C59-4B31-944C-0E560D85E6C3}\InprocServer32]

    @="C:\\Program Files (x86)\\Common Files\\microsoft shared\\Filters\\offfiltx.dll"

    "ThreadingModel"="Both"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    Thursday, April 11, 2013 12:31 PM

All replies

  • Hi Rui,

    Thank you for posting in the MSDN Forum.

    As you might have seen in this page, there isn't a way to install the 32-bit filters on a 64-bit host.

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, April 11, 2013 6:30 AM
    Moderator
  • I found a way to install docx Filter Pack 32bits in a 64bits OS. To other file formats is similar.

    1. Install Filter Pack 32 bits in a 32bits OS;
    2. Copy ifilters files in directory “C:\Program Files\Common Files\Microsoft Shared\Filters” from 32 bits OS to the a directory “C:\Program Files (x86)\Common Files\Microsoft Shared\Filters” in 64bits OS.
    3. Copy the following lines to a file “ifilter.reg” and execute the file:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.docx\PersistentHandler]

    @="{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}]

    @="Office Open XML Format Word Persistent Handler"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered]

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}]

    @="Office Open XML Format Word Persistent Handler"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{5A98B233-3C59-4B31-944C-0E560D85E6C3}\InprocServer32]

    @="C:\\Program Files (x86)\\Common Files\\microsoft shared\\Filters\\offfiltx.dll"

    "ThreadingModel"="Both"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{5A98B233-3C59-4B31-944C-0E560D85E6C3}\InprocServer32]

    @="C:\\Program Files (x86)\\Common Files\\microsoft shared\\Filters\\offfiltx.dll"

    "ThreadingModel"="Both"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{D3B41FA1-01E3-49AF-AA25-1D0D824275AE}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]

    @="{5A98B233-3C59-4B31-944C-0E560D85E6C3}"

    Thursday, April 11, 2013 12:31 PM