More Group Sites
School Rankings
Jobless Net
Better Home
Enviro++


Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

Is there a better way to install sql server ce 3.5 sp1 as a prerequisite? Options · View
hong
Posted: Monday, July 26, 2010 6:21:42 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 329
Points: 693
Location: Australia
My application uses both versions 3.5.0.0 and 3.5.1.0 of System.Data.SqlServerCe.dll so I have to install sql server compact 3.5 sp1. In vs2008, only sql server compact 3.5 can be selected as prerequisite if "from the the application location" is chosen. The workaround would be replacing the sql server compact edition 3.5 with 3.5.1. It's important that the two versions must be of the same file name as they can be downloaded from Microsoft website with different names. Otherwise the installer will complain that the file is not found. This operation can be set in PostBuildEvent. I think there might be an easier way. Can you please comment?

Related: SQL CE - Properties Window: Object reference not set to an instance of an object
Sponsor
Posted: Monday, July 26, 2010 6:21:42 PM
hong
Posted: Tuesday, August 03, 2010 1:56:20 PM

Rank: Administration
Groups: Administration

Joined: 11/23/2008
Posts: 329
Points: 693
Location: Australia
Sql server compact 3.5 sp2 is also packed in a similar way, one for x86 and the other for x64. I think renaming the file is not a big deal. The installer may also need to detect whether the target OS is 64 bit and install the right SSCE runtime.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

ASPNET Theme created by Boskone (Dan Ferguson)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.074 seconds.