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

Posted by Marko Apfel on Geeks with Blogs See other posts from Geeks with Blogs or by Marko Apfel
Published on Mon, 27 Dec 2010 18:10:00 GMT Indexed on 2010/12/27 19:54 UTC
Read the original article Hit count: 335

Filed under:

Today Patrick gives 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 understandanded from me. So i stepped in some traps.

Here are my notes to get NDepend running.

  1. Download of NDepend Professional Edition from
    http://www.ndepend.com/NDependDownload.aspx
     
  2. Extracted to
    c:\program files (x86)\NDepend
     
  3. Started NDepend.Install.VisualStudioAddin.exe
    this failed with

    Okay – sounds plausible.
     
  4. Copy NDependProLicense.xml to this folder Winking smile
     
  5. Next try with NDepend.Install.VisualStudioAddin.exe opens the integration dialog

     
  6. Registering in Visual Studio failed with

     
  7. Manually unblock as described (first solution hint)

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

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

    Why?
    So the same error during integration pops up.
     
  8. Okay – tried the second solution hint with copying folders
    Copy all to a full accessable folder under c:\temp\
     
  9. Now the installation works

     

    looks good
     
  10. copying the folders back to
  11. c:\program files (x86)\NDepend
     
  12. starting Visual Studio failed with
     
     
  13. Okay – copying the folder to a private application folder
    c:\users\apf\My Applications\NDepend
     
  14. Installing again
     
  15. Now Visual Studio runs and NDepend is integrated
    Smile

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

© Geeks with Blogs or respective owner