|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
Double-click the error in the Task List to go to the referenced folder in the File System Editor.
In the Properties window, select the DefaultLocation property. Select a system folder name from the list, or enter a properly formatted system folder name.