On my machine the SQL CE registry keys have a value called 'DesktopRuntimeServicePackLevel'.
Have a look under: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU So your launch condition would look something like: <Property Id="SQLCESP"> <RegistrySearch Id="SqlCeRegistry" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU" Name="DesktopRuntimeServicePackLevel" Win64="no" /> </Property> <Property Id="SQLCESPX64"> <RegistrySearch Id="SqlCeRegistryX64" Type="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU" Name="DesktopRuntimeServicePackLevel" Win64="yes" /> </Property> <Condition Message="Microsoft SqlCe was not found on this machine. Please install Microsoft SqlCe."> <![CDATA[(SQLCESP = "#2" AND SQLCESPX64 = "#2") OR Installed]]> </Condition> Cheers, Sharad Patel Winscribe NZ -----Original Message----- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Tuesday, 8 March 2011 11:42 a.m. To: General discussion for Windows Installer XML toolset.(wix-users@lists.sourceforge.net) Subject: [WiX-users] LaunchCondition for Microsoft SQL Server Compact 3.5Service Pack 2 Anybody know of a good launch condition to determine whether "Microsoft SQL Server Compact 3.5 Service Pack 2" (both 32-bit and 64-bit) are installed? I want to disallow installation of my package if they are not installed. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com<http://www.fiserv.com/> P Please consider the environment before printing this e-mail ------------------------------------------------------------------------ ------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users