Shortcuts for applications in the 2007 Office system are not generated in the designated location on a computer that is running Windows Vista

Article translations Article translations
Article ID: 948186 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
Expand all | Collapse all

SYMPTOMS

You use the Office Customization Tool (OCT) to create a customization file to configure shortcuts. Then, you use this customization file on a computer that is running Windows Vista. When you do this, the shortcuts for applications in the 2007 Microsoft Office system are not generated in the designated location.

For example, you create a customization file to install Microsoft Office OneNote 2007 and to generate a custom OneNote shortcut in the following location:
[AppDataFolder]\Microsoft\Windows\Start Menu\Programs
After you use this customization file, you notice that the OneNote shortcut is not generated in the following location as expected:
C:\Users\UserProfile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
Instead, you notice that the shortcut is generated in the following location:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs

CAUSE

This issue occurs because Windows Installer recognizes the shortcut destination as a Start Menu location. Therefore, Windows Installer adjusts the destination profile to correspond with the installation.

Installations of the 2007 Office system are per-computer. Therefore, the shortcuts are put in the CommonAppDataFolder folder instead of in the AppDataFolder folder.

WORKAROUND

To work around this issue, follow these steps:
  1. Use the Add files section of the OCT instead of the Configure shortcuts section to install the shortcuts.
  2. Perform a regular test installation, and then copy the .lnk files that are created. Add these files to the Add files section of the OCT by using the following destination:
    [AppDataFolder]\Microsoft\Windows\Start Menu\Programs
  3. Use the Configure shortcuts section to remove any shortcuts that you do not want installed.
After all per-user files and all registry entries are added by using the OCT, the shortcuts are copied to a user's profile the next time that the user runs a 2007 Office application.

If you want the shortcuts to be copied to the profile before the user starts a 2007 Office application, you can add a registry entry that will run a one-time start of a 2007 Office application during the logon process.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To run a one-time start of a 2007 Office application during the logon process, use the Add registry entries section of the OCT to add a registry entry that resembles the following registry entry:
Root: HKEY_LOCAL_MACHINE
Data type: REG_SZ
Key: Software\Microsoft\Active Setup\Installed Components\RunOneNoteOnce
Value name: StubPath
Value data: onenote.exe

Properties

Article ID: 948186 - Last Review: March 12, 2008 - Revision: 1.1
APPLIES TO
  • Microsoft Office Enterprise 2007
  • Microsoft Office Professional 2007
  • Microsoft Office Professional Plus 2007
  • Microsoft Office Standard 2007
  • Microsoft Office Ultimate 2007
Keywords: 
kbexpertiseinter kbtshoot kbprb KB948186

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com