本文介绍了正在检测是否安装了SQL Server Compact Edition 3.5 SP2 x64?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正在构建安装程序,并且想引导SQL Server Compact Edition 3.5 SP2.问题是我正在寻找注册表项HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU\DesktopRuntimeVersion.有问题的原因是对于64位计算机,SQL CE要求同时运行32位和64位安装程序.您必须先安装32位版本,然后才能安装64位版本.

I am building an installer and I want to bootstrap SQL Server Compact Edition 3.5 SP2. The problem is that I am looking for the registry key HKLM\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU\DesktopRuntimeVersion. The reason that is a problem is that for 64-bit machines SQL CE requires that both the 32-bit and 64-bit installers are run. You can't install the 64-bit version until the 32-bit version is installed.

一旦安装了32位版本,就会填充注册表项,并且我的引导程序 dotNetInstaller 会检测到注册表项在那里并且从未安装x64版本.

As soon as the 32-bit version is installed the registry key is populated and my bootstrapper, dotNetInstaller detects that the registry key is there and the x64 version is never installed.

关于即使安装了x32,如何判断是否安装了x64版本的任何想法?

Any ideas on how to tell if the x64 version is installed even if the x32 is installed?

推荐答案

仅安装了x86运行时的x64系统:

x64 system with only x86 runtime installed:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU]
"DesktopRuntimeVersion"="3.5.8080.0"
"DesktopRuntimeServicePackLevel"="2"

同时安装了x86和x64的x64系统:

x64 system with both x86 and x64 installed:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU]
"DesktopRuntimeVersion"="3.5.8080.0"
"DesktopRuntimeServicePackLevel"="2"
"DesktopRuntimeVersion_x64"="3.5.8080.0"

这篇关于正在检测是否安装了SQL Server Compact Edition 3.5 SP2 x64?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 17:20