A silent installation of Office 2010 checks both SUpdateLocation and the default Updates folder

Symptoms

Consider the following scenario:
  • You deploy a silent installation of Microsoft Office 2010 by using the Config.xml file. 
  • You specify an update folder in <SetupUpdates> section of the Config.xml. For example:
    <SetupUpdates
    CheckForSUpdates="Yes"
    SUpdateLocation="C:\Updates2"
    />
  • You start the silent installation of Office 2010.
In this scenario, the installation checks the following folders and applies updates from them:
  • The default folder (the Updates folder) 
  • The specified folder (the Updates2 folder) 
However, the expected behavior is that the installation would check and apply updates from the specified folder only and not the default folder. 

Resolution

To resolve this issue, replace the Osetup.dll file, and then use the CheckUpdatesFolder attribute in the Config.xml file to prevent the installation from installing updates from the default folder. To do this, follow these steps:
  1. Download Setupdll.zip from the following link:

    Download Download the setupdll.zip package now.
  2. Extract files from Setupdll.zip. There should be two Osetup.dll files. One is for the 32-bit version of Office 2010, and the other is for the 64-bit version of Office 2010.
  3. Copy the appropriate Osetup.dll file, and then paste it into the Updates folder. If the old Osetup.dll file is contained in the Updates folder, replace the old Osetup.dll file with the new Osetup.dll file.

    Note A new CheckUpdatesFolder attribute is added in this file.
  4. If you do not want the installation to check and apply the updates in the default folder, set the CheckUpdatesFolder attribute to "No" in the Config.xml file. For example:
    <SetupUpdates
    CheckUpdatesFolder="No"
    SUpdateLocation="c:\Updates2"
    />
    Note The default value of CheckUpdatesFolder is "Yes".
  5. Save the Config.xml file.
  6. Run the silent installation by using the revised Config.xml file. For example:
    <OfficeInstallationPath>\setup /config <path>\config.xml
Propriedades

ID do Artigo: 2825946 - Última Revisão: 26/11/2013 - Revisão: 1

Comentários