Connecting Tech Pros Worldwide Forums | Help | Site Map

Sql Compact Installation

Newbie
 
Join Date: May 2009
Posts: 16
#1: Oct 21 '09
Hi all, Is there any way by which we can find pro grammatically whether SQL Compact is installed or not... Actually I need to know whether the compact edition is installed or not in PC and so that I can include or exclude the SQL Compact dll... Because in my application there are different process that access the same .sdf file which will cause Access Violation error if those dll are included and compact is installed...

Any idea!!!
best answer - posted by Delerna
Have you tried searching the registry for the keys that get added when SQL Compact is installed.

All you need do then, is pragrammatically check for the existance of those keys in the registry

Delerna's Avatar
Expert
 
Join Date: Jan 2008
Location: Sydney
Posts: 787
#2: 4 Weeks Ago

re: Sql Compact Installation


Have you tried searching the registry for the keys that get added when SQL Compact is installed.

All you need do then, is pragrammatically check for the existance of those keys in the registry
Reply

Tags
sqlce