G
Guest
Hi,
So I have built a PocketPc 2003 application. It uses a Sql Mobile database.
I built the app in VS2005.
Now, I need to have .NET framework and SqlCe database installed on the
device to have the app run ok. So, when I developed the Smart device CAB
installer, it basically contains the required .NET and SqlCe CAB files along
with the main application exe and the other files it uses.
I included a Setup DLL in the install CAB, so that once the CAB is unpacked
I initiate a soft reset of the device. When the device turns back on I run a
shortcut in StartUp folder (which was copied during unpacking of the CAB
file). This shortcut points to a WinCE exe (not dependent on .NET) and the
purpose of this exe is to run the .NET and SqlCe CABs and install them to the
device. Once this is over I then soft reset the device and the app can run as
normal.
But, this seems to me liek there must be a better way for the main Instal
CAB to detect if .NET and SqlCE is installed on the device and install it
where required?
I think maybe this can be done via having the device cradled and the
application installed by way of a desktop installer. But, my app is delivered
from the Internet and downloaded to a device so theres no direct interface to
detect whats on the device and whats not i.e. .NET framework.
So, I'm just curious how everyone else is deploying there .NET applications
via the internet? Especially as there is no way to know if the device has the
framework installed or not.
Thanks for any insights, tips etc...
Dave
So I have built a PocketPc 2003 application. It uses a Sql Mobile database.
I built the app in VS2005.
Now, I need to have .NET framework and SqlCe database installed on the
device to have the app run ok. So, when I developed the Smart device CAB
installer, it basically contains the required .NET and SqlCe CAB files along
with the main application exe and the other files it uses.
I included a Setup DLL in the install CAB, so that once the CAB is unpacked
I initiate a soft reset of the device. When the device turns back on I run a
shortcut in StartUp folder (which was copied during unpacking of the CAB
file). This shortcut points to a WinCE exe (not dependent on .NET) and the
purpose of this exe is to run the .NET and SqlCe CABs and install them to the
device. Once this is over I then soft reset the device and the app can run as
normal.
But, this seems to me liek there must be a better way for the main Instal
CAB to detect if .NET and SqlCE is installed on the device and install it
where required?
I think maybe this can be done via having the device cradled and the
application installed by way of a desktop installer. But, my app is delivered
from the Internet and downloaded to a device so theres no direct interface to
detect whats on the device and whats not i.e. .NET framework.
So, I'm just curious how everyone else is deploying there .NET applications
via the internet? Especially as there is no way to know if the device has the
framework installed or not.
Thanks for any insights, tips etc...
Dave