.NET Framework - Installing sqlce30.wce5.armv4i.CAB with a program

Asked By William LaMartin on 13-Mar-07 10:05 PM

By following the instructions at
http://msdn2.microsoft.com/en-us/library/aa446504.aspx (thank you
Christopher Tacke for that), I have figured out how to create a .msi
installation package to install my Windows Mobile 5 PPC application.
How do I include the installation of the Compact SQL Server (or SQL Mobile
or SQL Everywhere or whatever it is now called) in the same package. I
tried to add it to the list of cabs in the ini file (only the program's cab
was there)
Obviously I have omitted some steps. Can someone point me in the correct
direction.

Kay-Christian Wessel replied on 15-Mar-07 05:13 AM

One solution could be to just add the nessecary dll's to your project. I
think this is the fastest way. You will find the dll's in the same folder as
the cab file.
The other way is to include the cab in your cab, but this is not so easy.
There are som third party tools which fixes this though.
Best regards
Kay-Christian Wessel

srharton replied on 15-Mar-07 09:00 AM

I do not think the Microsoft EULA allows you to break down CAB files and ship
them individually.
Advise you check the EULA.
Simon.

Thanks. Now that you point it out, I recall seeing that article and using
it to get started with my first SQL Compact database project before it was
made part of Visual Studio 2005 in one of the service packs.

Kay-Christian Wessel replied on 16-Mar-07 03:37 AM

The article is brand new, written i January this year, so it should be ok to
do it this way.
Kay