Logga in med Microsoft
Logga in eller skapa ett konto.
Hej,
Välj ett annat konto.
Du har flera konton
Välj det konto som du vill logga in med.
Engelska
Vi beklagar. Den här artikeln är inte tillgänglig på ditt språk.

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:

    DownloadDownload 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

Behöver du mer hjälp?

Vill du ha fler alternativ?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Hade du nytta av den här informationen?

Vad påverkade din upplevelse?
Genom att trycka på skicka, kommer din feedback att användas för att förbättra Microsofts produkter och tjänster. IT-administratören kan samla in denna data. Sekretesspolicy.

Tack för din feedback!

×