本人安装SQL2012出现这个错误,找了三天三夜,终于把问题找出来,共享给有需要的人们,不用重新换系统 错误如下: 1,此问题是系统.net Framework版本冲突,首先下载.net Framework清理工具(如:cleanup_tool.exe).把全部的.net Framework删除. 2,下载.net Framework4.0安装. 3,修改安装包配置文件: (1)修改setup.exe.config 4,以此类推把安装包里面x86,x64文件夹里面的 FixSqlRegistry…
Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. An unhandled exception was generated during the execution of th…
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths how to load BPLs without writing them in the system directory or in the application directory. I suggested to use the "App paths" registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Mi…
VS2010打开.csproj工程文件报错,不能加载,错误信息如下: 无法计算HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0@VCTargetPath处的属性表达式 这一般是由于安装了Vs2015和VS2010冲突产生的我问题,即使卸载了VS2015也无济于事. 解决办法: 打开windows+R输入regedit,进入注册表找到:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mi…
Cannot evaluate the property expression "$([MSBuild]::ValueOrDefault('$(VCTargetsPath)','$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\V140\'))" found at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0@VCTargetsPath".…
http://www.codeproject.com/Articles/1003177/Access-bit-HKLM-Software-Registry-by-bit-Csharp-NE While running 32-bit Windows application on a 64-bit windows OS, there is a registry redirection. Here, if 32-bit application tries to read a key under HKL…
通过Setup Factory写的代码大概有1700行,所以就不整理了.思路如下: 静默安装都是通过去Microsoft 和Esri的官网找到静默安装的命令,然后File.Run(...)或者Shell.Execute(...)一下:静默卸载就是搜素注册表,调用微软的卸载命令即可. 1.NET Framework静默安装(" /q /norestart") File.Run(DOTNetFilePath, " /q /norestart","",…
只是说一下自己的解决方法: 我的原因是注册表没有删除改进. 1.输入regedit 2.找到HKEY_LOCAL_MACHINE\software\microsoft\windows\CurrentVesion\Uninstall\(自己想卸载的) 3.记得备份,以防选错!…
public int ChecNonkWoW64() { try { ; string subKey = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"; 8 string[] subkeyNames; 9 RegistryKey software = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64); 10 softwar…
Windows安装mysql-python提示:error: Microsoft Visual C++ 9.0 is required,Get it from http://aka.ms/vcpython27.问题如何解决呢? 方法如下: 在http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python下载对应的包版本,如果是win7 64位2.7版本的python,就下载MySQL_python-1.2.5-cp27-none-win_amd64…