Changing the Target Location for a Directory

Windows Installer

Changing the Target Location for a Directory

If possible, the best way to specify the target location for a directory is to author the Directory Table in your installation package to provide the correct location. For more information, see Using the Directory Table.

If you need to change the directory location at the time of the installation, you have the following options:

The following restrictions apply to all of the above options:

  • Do not attempt to change the target directory path if some components that use the path are already installed for the current user or for a different user.
  • Do not attempt to change the target directory path during a Maintenance Installation.

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.