Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Invalid default location '<location>' for folder '<name>' 

The DefaultLocation property for the referenced folder is not properly formatted. The DefaultLocation property specifies a Windows Installer system folder property that represents a system folder on the target computer. The default for custom folders is [TARGETDIR], which represents the installation directory specified by the user during installation.

The most common cause for this error is mismatched brackets.

To correct this error

  1. Double-click the error in the Task List to go to the referenced folder in the File System Editor.

  2. In the Properties window, select the DefaultLocation property. Select a system folder name from the list, or enter a properly formatted system folder name.

See Also

Community Additions

© 2015 Microsoft