Jump to content

Office 2007 and RunOnceEx Conflict


jchowland

Recommended Posts

Hi Everybody- I posted this in the MS Communities but I'm not expecting any response... I thought I'd probably get a much better strike rate here!

I have a specific question about how Office 2007 installs itself when it is

deployed from Group Policy. At present, my setup is to have the machines

automatically installed with XP using RIS and then applications installed

automatically through the use of Software Installations and Group Policy.

If I install the software normally once the machines have been installed

with XP, the notice "Configuring Microsoft Office 2007" comes up and modifies

what is installed through the config.xml- adding and removing components as I

need them.

My problem is that this process ONLY occurs if NOTHING else is running at

the time. If it cannot run, then the software that I specify to NOT install

with show in the start menu, and the other apps are not installed. In my

setup, I am using the DriverPacks from driverpacks.net so that the video

drivers and hardware on all of my machines are kept up to date.

Unfortunately, it uses RunOnceEx to finish this process and add the drivers

to the system folder, meaning that the Office 2007 Customisation never seems

to run.

What SHOULD happen with this type of installation is that nothing should

conflict- using RIS, RunOnceEx only runs after the first interactive login, hence the conflict and non-installation.

My Question is this- is there either a way to postpone the customisation of

Office 2007 until after a second or third reboot, or manually begin this 'customisation'? Whilst this is the wrong

place to ask, does anyone know whether RunOnceEx can be postponed or if there

is a place even before the first logon which could run this 'finisher' or

other installers?

Thanks in Advance!

Edited by jchowland
Link to comment
Share on other sites

  • 2 weeks later...

Ok, The problem that I am having has been (sorta) resolved. It is actually a bug with how the Installer executes and installs itself.

The issue lies in the fact that Office 2007 installed straight through the MSI at the first install of Windows (through Group Policy) has to compete with other products that are also installed at this stage (i.e. Acrobat, Windows Defender, Zune Theme and so on).

The Problem is two-pronged and is as follows (with the workaround below, different colour)

1. Installing Software which auto-reboots the system after installation (Adobe Acrobat 8, in my case)

If your Machine's installers are set to reboot the machine after they are installed, Office 2007 will not be correctly configured or installed, as the Office 2007 installation runs as a 'All Users' account at the logon prompt and then on top of the interactive logon and restarting the machine naturally prevents this from executing (and the Office 2007 MSI
IS NOT
self-healing.

Solution: The Office 2007 installer
MUST
be run
AFTER
all other installers for it to correctly function, as it does not call a restart (i.e. if you are creating a new Software Installation GPO, be sure to add Office 2007
last

2. Installing Software which runs after the logon (such as the Zune Theme asking to be set, or Windows Defender running a scan)

When software installs normally (as the logged on user), it may call a window, such as the Zune theme asking to be set or Windows Defender running an update and scan. When software is installed from Group Policy, these windows or applications are called at the First Interactive logon. It happens that the installer for Office 2007 also wants to be executed here as well, but will fail if any other applications are already running (such as these called windows.) As a result, the installer will show that another 'installation' is in progress, becasuse applications/windows have been called by the other installers- another installation in the eyes of Office 2007, and will 'Roll-Back' changes, and ask for you to press 'Retry' after the install (which does not show). Because the Office 2007 MSI installer is not self-healing, the subsequent restart will not recognise any problem and Office 2007 cannot be installed. Each program (e.g. Word 2007) will show in Add/Remove as "Word 2007 MUI en-us" but will not be in C:\Program Files\office12\winword.exe.

Solution: Installers which call an application after installation
CANNOT
be installed using Group Policy if Office 2007 is to be installed.

Essentially what it boils down to is a sloppy MS Engineer who didn't test Office 2007 installing with other applications at the first system install, rather only as an additional install to an existing GPO and existing computers, not new, GP installed computers. The only way around this problem is to use BDD 2007, and even then some of these programs will not install correctly (such as PowerDVD) which check for other installed software (e.g. DirectX) which they will not find in Windows PE.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...