PDA

View Full Version : Install SQL CE 4



diverdan
02-02-2011, 08:17 PM
Hi there,
I have written an application that requires SQL CE4. With ce4 there is both x32 and x64 versions of the application. So I am trying to create a package that caters for both.

This is what I have so far.

my 86 version

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="1" ProductType="1"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\SQL CE 4\SSCERuntime_x86-ENU.exe" CheckSum="0A55733CF406FBD05DFCFF5A27A0B4F7" FileSize="0,2379544"></file>
</files>
<execute file="SSCERuntime_x86-ENU.exe" cmdlinesilent="/q /norestart"></execute>
<properties Id="{6BD58ED0-FA9A-44BC-A201-B9D6128459AD}" Description="This prerequisite installs the Microsoft SQL Server Compact 4."></properties>
</SetupPrereq>


my 64 bit

<?xml version="1.0" encoding="UTF-8"?>
<SetupPrereq>
<operatingsystemconditions>
<operatingsystemcondition MajorVersion="6" MinorVersion="1" PlatformId="2" CSDVersion="" Bits="2" ProductType="1"></operatingsystemcondition>
</operatingsystemconditions>
<files>
<file LocalFile="&lt;ISProductFolder&gt;\SetupPrerequisites\SQL CE 4\SSCERuntime_x64-ENU.exe" CheckSum="A417082ECAEDD95AFB41F73DC140C350" FileSize="0,2621240"></file>
</files>
<execute file="SSCERuntime_x64-ENU.exe" cmdlinesilent="/q /norestart"></execute>
<properties Id="{F7BF54C1-CA2C-4410-98DB-480769CE6547}" Description="This prerequisite installs the Microsoft SQL Server Compact 4."></properties>
</SetupPrereq>


The 64bit version seems to work ok however when I try install on a 32bit machine the installer doesn't run the sqlce.exe

What am I doing wrong?

bwallan
02-10-2013, 06:56 PM
Did you resolve this issue? I have exactly the same problem with no resolution.

I would like a MS SQL Server Compact 4 (x64) merge module...

bwa