RE: MSI installer runs when I run Office 2003 app

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: vishal subramaniam (vishalsu_at_microsoft.com)
Date: 05/27/04


Date: Thu, 27 May 2004 06:58:57 GMT


vishalsu@online.microsoft.com

ISSUE:
======
I just installed office 2003 as an upgrade from office XP on my Windows XP
SP1 laptop. When logged in as an administrator everything runs fine. When
I login as the intended user with just user rights, the installer runs
whenever I use outlook or other office apps.

I then removed all of office, rebooted and did a fresh full install. I am
getting the same problem. I have installed office 2003 on about 10 of our
160 machines to test out the suite before doing the full deployment. This is
the first machine to show this behavior. I would like to figure this out
before I have more problems.

RESOLUTION:
=============
Installing Office with Elevated Privileges
 
Updated: November 18, 2003
  
  In this topic
 
   Logging on as an administrator
 
   Assigning, publishing, or advertising Office
 
   Related links
 
In the Microsoft® Windows® environments that support Microsoft Office 2003,
different groups of users have different levels of rights and permissions.
In these environments, default users have limited access to system areas of
the computer. Because Office 2003 Setup writes to system areas of the
operating system and the Windows registry, a user must have administrator
rights to the local computer to install Office 2003.

Users without administrator rights cannot install Office 2003. To install
Office on computers where users lack administrator rights, you must run
Setup with elevated privileges. After Office is installed, users without
administrator rights can run all installed features, including installing
features on demand, provided the initial installation was performed in an
elevated context.

In organizations where users are not the administrators of their computers,
there are three methods of elevating the Office installation:

Log on to the computer as an administrator and install Office 2003.
Assign, publish, or advertise Office applications.
You can use Group Policy software installation and management to assign or
publish Office 2003. You can also log on to the computer as an
administrator and run Setup with the /j command-line option to advertise
Office.

Use a software management tool, such as Microsoft Systems Management
Server, in an administrative context.
Because all of the core Office 2003 products are installed as Windows
Installer packages, any of the preceding methods grants users elevated
privileges and allows them to install Office and any chained packages. When
the initial installation is performed with elevated privileges, all
subsequent installations — including install on demand and automatic repair
of features — are also automatically elevated.

----------------------------------------------------------------------------

----
Caution   Setting the Windows Installer policy Always install with elevated 
privileges allows a user without administrator rights to the computer to 
install any Windows Installer package. Similarly, setting the policy Enable 
user to use media source while elevated allows users without administrator 
rights to install programs from a CD. The installation runs with elevated 
privileges, and the user has unlimited access to system files and the 
registry. Setting either of these policies leaves the computer highly 
vulnerable, potentially allowing an attacker to run malicious code on the 
computer. Using these policies to elevate an Office 2003 installation is 
not recommended.
----------------------------------------------------------------------------
----
Logging on as an administrator
If you log on to a computer with an account that has administrator rights, 
you automatically install Office 2003 and Office 2003 MUI Packs with 
elevated privileges. However, this method requires that all users have 
administrator rights when they run Office Setup or that an administrator 
visits every computer.
You can give users a temporary administrator name and password and have 
them use the Run as command to install Office 2003 or MUI Packs in an 
elevated context. If you create a shortcut to Setup.exe, you can include 
command-line options to customize the installation. To help maintain a high 
level of security in this scenario, you can write a script that contains 
administrator credentials and calls the Run as command. For more 
information, type runas \? at the command prompt.
Assigning, publishing, or advertising Office
You can also elevate the Office installation by using Group Policy software 
installation to assign or publish Office 2003 and MUI Packs. Alternatively, 
if you are not using Windows software installation and maintenance, you can 
advertise Office 2003 by logging on as an administrator and then running 
Setup with the /jm option. If you also include a Windows Installer 
transform (MST file) to customize the installation, use the /t command-line 
option to specify the MST file. For example:
setup.exe /jm pro11.msi /t office.mst
When you advertise Office 2003 in this way, Windows Installer shortcuts for 
each application appear on the Start menu, and a minimal set of core Office 
files and components is installed on the computer. When a user clicks a 
shortcut or opens a file associated with an Office application, Windows 
Installer runs with elevated privileges to install the application, 
regardless of how the user logged on. After Office is advertised, users can 
also run Setup from an administrative installation point and install Office 
with elevated privileges.
Like Office XP, the language packs in the Microsoft Office 2003 
Multilingual User Interface Pack are Windows Installer packages, and you 
can advertise them to grant users elevated privileges when installing them. 
You must be logged on as an administrator when you advertise a package. 
LINKS:
=======
http://www.microsoft.com/office/ork/2003/two/ch5/DepC01.htm
HTH
This posting is provided "AS IS" with no warranties, and confers no rights. 


Relevant Pages

  • Re: Information in Computer Management tool
    ... <deleting all partitions and formatting the drive. ... Internet until you have installed Service Pack 2 and have the Windows ... I'm afraid to put a password on Administrator. ... Back up your data and do a clean install of Windows including ...
    (microsoft.public.security)
  • Re: Tweak UI Autologon..
    ... Several years ago I messed up big time with my new install of XP. ... using an older version and managed to delete Documents and Settings twice. ... I reformatted my HD from FAT32 to NTFS and did a clean install of Windows XP ... the Administrator Account shown on the Welcome screen. ...
    (microsoft.public.windowsxp.basics)
  • Re: Help Needed - Cannot Update, Administrator Privileges Broken
    ... I pulled the install log for KB892130. ... Please contact your system administrator. ... You do not have permission to update Windows XP. ... REGSVR32 wuaueng.dll ...
    (microsoft.public.windowsxp.general)
  • Re: Downloaded Windows Updates fail to install in Windows Update
    ... To install the updates, an administrator should log on to ... this computer and Windows will prompt with further instructions: ... Update for Windows XP - Security Update for Windows XP ...
    (microsoft.public.windowsupdate)
  • Re: Draft I: Why You Dont Want to Install Software
    ... All these functions should be under the control of the system administrator. ... > idea of contacting your network consultant to install software probably ... > could install software. ... Windows 9x was notoriously unstable and fragile. ...
    (microsoft.public.windows.server.sbs)