I have a PDA application that manage a database.
My application uses Sql server 2005 Mobile edition and I want to change to
Sql server 2005 Compact edition.
I have an application that automatically upgrade new version of my software at users (customers sites) It is shipped on a memrory card (SD Card).
I want in my upgrade tool to install Sql server 2005 Compact edition so I do it by running the two cab files :
sqlce30.repl.wce5.armv4i.CAB and sqlce30.wce5.armv4i.CAB
It works ok but I want also to uninstall Sql server 2005 Mobile edition and I do not find out how to do it automatically, First I do not know how to find out if Sql server 2005 Mobile edition is installd and if so how to uninstall it.
I want to do it all automatcally in my upgrade utility because my customers do not know to do it manually by theself.
Second I want to know if I have to use the Sql server 2005 Compact edition Uprade tool to upgrade my clients old databases because the now application works ok without Upgrading the database.
Thanks
Ofer Ebert
If your users are using PocketPC devices, you should use these cab files: sqlce30.ppc.wce5.armv4i.CAB, sqlce30.repl.ppc.wce5.armv4i.CAB, the files you mention are for "generic" Windows Mobile 5.0 devices. Installing these cab files will automatically uninstall SQL Mobile. The file format between SQL 2005 Mobile and and SQL 2005 Compact Edition has not changed, so there is no requirement to run the upgrade tool.
|||
Thanks for the quick answer.
I changed to work with the files you mentiond still after installing both cab files I see that SQL Mobile is still installd on my PDA so it is not automatically uninstalld.
Do ypu have a suggestion
Ofer Ebert
|||
How do you determine that SQL Mobile is still installed.
I think you will find that only one set of the files called sqlce...30.dll (sqlcece30.dll and so on) are installed (in the \windows folder).
If these files are dated 22/12 2006, version 3.0.5300, then only SQL Compact Edition is installed.
|||
When running setup/system/ "Remove Programs" I see Sql Compact twice (Because I install two cab files) and also Sql Mobile
Thanks
Ofer
|||
Yes, but please check this:
I think you will find that only one set of the files called sqlce...30.dll (sqlcece30.dll and so on) are installed (in the \windows folder).
If these files are dated 22/12 2006, version 3.0.5300, then only SQL Compact Edition is installed.
|||
Yes I see only one set of files dated 22/12/2006
Thanks
Ofer Ebert