Installation experiences with NDepend under Win7/64 with restricted user permissions

Notes on getting NDepend's Visual Studio integration installed on Windows 7/64 with restricted user permissions, working around repeated file-blocking errors.

Today Patrick from NDepend gave me a new license for his static code analysis tool NDepend for my fresh machine with Win7/64. This platform is new for me, so some things are different to Win XP. Maybe that till yet some of these things are not well enough understood from me. So I stepped in some traps.

Here are my notes to get NDepend running.

  1. Download of NDepend Professional Edition from here

  2. Extracted to c:\program files (x86)\NDepend

  3. Start NDepend.Install.VisualStudioAddin.exe; this failed with

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    Okay – sounds plausible.

  4. Copy NDependProLicense.xml to this folder 😀

  5. Next try with NDepend.Install.VisualStudioAddin.exe opens the integration dialog

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

  6. Registering in Visual Studio failed with

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

  7. Manually unblock as described (first solution hint)

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    and here comes my largest understanding problem. After unblocking this file

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    and closing this dialog the next opening shows the blocking again:

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    Why? - So the same error during integration pops up.

  8. Okay – tried the second solution hint with copying folders

    Copy all to a full accessible folder under c:\temp\

  9. Now the installation works

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

    looks good

  10. copying the folders back to c:\program files (x86)\NDepend

  11. starting Visual Studio failed with

    Screenshot for Installation experiences with NDepend under Win7/64 with restricted user permissions

  12. Okay – copying the folder to a private application folder
    c:\users\apf\My Applications\NDepend

  13. Installing again

  14. Now Visual Studio runs and NDepend is integrated 😀

Nevertheless my machine is only used by me, i prefer “all user”-installations. The described way works sadly only for my account.