title: Web setup project fails to install dynamic-data site: "the installer was interrupted"
body: <p>The last phase of the installer fails with this message:</p>
  
  <blockquote>
    <p><strong>Installation Incomplete</strong></p>
    
    <p>The installer was interrupted before [project] could be installed. You need to restart the installer to try again.</p>
  </blockquote>
  
  <p>Running <code>msiexec /i installer.msi /l*vx setup.log</code> shows the following entries in the setup log:</p>
  
  <pre>INFO   : [...] [ApplyWebFolderProperties]: Getting web folder property token...
  INFO   : [...] [ApplyWebFolderProperties]: Token is '/LM/W3SVC/1/ROOT/ProjectDir/DynamicData/Filters'.
  INFO   : [...] [ApplyWebFolderProperties]: Getting METADATA_HANDLE for the directory '/LM/W3SVC/1/ROOT/ProjectDir/DynamicData/Filters'.
  ERROR  : [...] [ApplyWebFolderProperties]: FAILED:  -2147024893
  ERROR  : [...] [ApplyWebFolderProperties]: FAILED:  -2147024893
  ERROR  : [...] [ApplyWebFolderProperties]: Custom Action failed with code: '3'
  ERROR  : [...] [ApplyWebFolderProperties]: Custom Action failed with code: '3'
  INFO   : [...] [ApplyWebFolderProperties]: Custom Action completed with return code: '3'
  </pre>
  
  <p>The same web application had no problems being installed with a web setup project before. The issue started after upgrading the web application from .NET 3.5 SP1 to .NET 4.0.</p>