Hi!

I have to deploy a Compact Framework project with a MSI Package installer.
But to do this I have to check if Compact Framework and SQL Server CE are
installed on device.

Can I add the cab from Compact Framework and SQL Server to the MSI Package
and install them if there are not installed yet? How can I check if CF and
SQL Server are on device in the InstallerDLL?

I only find this article talking about this:
http://crawlmsdn.microsoft.com/en-us/library/aa446531.aspx

Thanks!

RE: MSI Package Installer with .NET Compact Framework by JamesFielding

JamesFielding
Wed Jul 09 09:27:03 CDT 2008


If you don't mind having an all-in-one .exe file as your installer file
rather than an .msi file, have a look at the PocketPC Installer
Professional:
http://www.pocketpcinstaller.com

You can just drag'n'drop the .Net CF & SQLCE .cab files into this app,
it'll create both a PDA and a Desktop Installer .exe file for you (just pick
which of the two you want to use, and ignore the other) and, by default,
they'll just install .cab files if they aren't currently installed on the
device.

The Desktop Installer is particularly clever, as it'll look at the device
that's connected, find out which .cab files are installed on it, and only
copy compressed versions of your .cab files to the device if they are
needed. This makes deployment extremely fast and easy.

They also cope nicely if the .Net CF cab decides to soft-reset at the end
of installing. The installer will just resume installation once the
soft-reset
has finished.


James






"Liberado27" wrote:

> Hi!
>
> I have to deploy a Compact Framework project with a MSI Package installer.
> But to do this I have to check if Compact Framework and SQL Server CE are
> installed on device.
>
> Can I add the cab from Compact Framework and SQL Server to the MSI Package
> and install them if there are not installed yet? How can I check if CF and
> SQL Server are on device in the InstallerDLL?
>
> I only find this article talking about this:
> http://crawlmsdn.microsoft.com/en-us/library/aa446531.aspx
>
> Thanks!

RE: MSI Package Installer with .NET Compact Framework by srhartone

srhartone
Mon Jul 14 14:53:00 CDT 2008

Have you looked at InstallShield, they have support for Windows Mobile.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Liberado27" wrote:

> Hi!
>
> I have to deploy a Compact Framework project with a MSI Package installer.
> But to do this I have to check if Compact Framework and SQL Server CE are
> installed on device.
>
> Can I add the cab from Compact Framework and SQL Server to the MSI Package
> and install them if there are not installed yet? How can I check if CF and
> SQL Server are on device in the InstallerDLL?
>
> I only find this article talking about this:
> http://crawlmsdn.microsoft.com/en-us/library/aa446531.aspx
>
> Thanks!