心如止水

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  1. Find which visual studio and service pack version installed.

looking in the registry here

HKEY_LOCAL_MACHINE\Software\Microsoft\DevDiv[ProductFamily]\Servicing\9.0\

then finding a property named something like "SP" or "SPIndex". A value of 1 means installed, and 0 means not installed.

  1. Find which .net version installed.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP, also value of 1 for Install means installed, value of 1 for SP means sp1 installed, value of 2 for SP means sp2 installed.

 

posted on 2011-07-19 17:27  cutebear  阅读(203)  评论(0编辑  收藏  举报