This article has been archived. It is offered "as is" and will no longer be updated.
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
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:
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.
To work around this issue, follow these steps:
Use the Add files section of the OCT instead of the Configure shortcuts section to install the shortcuts.
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:
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