sharepointsharepoint-2007

Install MODI quiet with Sharepoint already installed


For a project, I need to install MsOfficeDocumentImaging (MODI) quietly through an installer. Me and my colleague have found out that it comes as a part of Sharepoint Designer 2007 and there doesn't seem to be a standalone installer for it. So after some digging, we extracted the installer, then installed the correct part using:

setup.exe /config config.xml

Using the config file config.xml with the content:

<Configuration Product="SharePointDesigner">

<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />

</Configuration>

This will work fine if no instance of the SharePointDesigner is on the system, but if SharePoint was already installed without MODI (which is unfortunately the default setting for a SharePoint installation), the installation will simply complete without doing anything.

In the same fashion, using the /adminfile modi.msp command will not work if SharePoint is already installed.

We don't want to uninstall/reinstall sharepoint, because it would run the risk of deleting other components of SharePoint that the users/admins manually installed before.

Is there any way of silently installing MODI without relying on SharePoint not already being installed?


Solution

  • In the end, we didn't find a way to install MODI without SharePoint Designer, but we managed to find a solution for the problem.

    By checking if SharePoint Designer is installed using the registry key it sets on installation, which can be found under

    SOFTWARE\WOW6432Node\Microsoft\Office\12.0\SharePoint Designer\InstallRoot
    

    We switched between either installing SPD using our config.xml file, or, if it was already installed, PATCHING MODI in using a .msp file that can be created via the normal setup.