Windows Mobile-How to Autoupdate Application

I devloped a windows mobile application in c# targeting Windows Mobile 6.1.In this application i want to include a feature that autoupdate the installed application depending on wether a new version is available.First cab i designed in such a way that cab project contains two projects(ie .sln).The need of autoupdation occurs when in any one of these projects i made any small change,i dont want to install the entire application again.only that particular project to be replaced in client.Currently what i doing is,when a new updation is made,i will inform it to the device using sms. Then device will contact to the server and l start to download&install new cab.This new cab may only contain one project(.sln).I think this methood is not correct.For each updation i will create new cab projects.So when u look at the device,u can see lot of installed pgms depending on how many updation made on that application.So i want to make the updation mechanism  similar to Windows Updation.How can i achieve this????.
LVL 5
vivekpv10Asked:
Who is Participating?
 
alexey_gusevConnect With a Mentor Commented:
there is no such thing even under normal Windows, let alone WM :)

if you need sophisticated update mechanism, you'll need to implement it yourself, ie initial install is via cab file, so all registry entries are present, it is visible in Settigns->Remove Programs and so forth, then you check for updates from your app(s) and download and replace desired components/files/whatever else.
0
 
Kalpesh ChhatralaConnect With a Mentor Software ConsultantCommented:
check this article

Creating Self-Updating Applications With the .NET Compact Framework

http://msdn.microsoft.com/en-us/library/aa446487.aspx
0
 
vivekpv10Author Commented:
That also seems to be reinstallation of entire cab...right??
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Kalpesh ChhatralaSoftware ConsultantCommented:
yes
0
 
vivekpv10Author Commented:
for me situation is different.After cab installtion different folders are also created.Using updation I dont want to delete these folderes and files.
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
So you have to download latest file manually one by one from server if newer file is available on server.
0
 
vivekpv10Author Commented:
that is not possible boz..some of the file will be modified after first cab installtion.i want to maintain those files..
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
you have to maintain text file for updation like file name, file date / time, file size.

then you can download first text file from server and then check local file with text file.

if file is new on server then download from server.
0
 
vivekpv10Author Commented:
still i cant understand..after reintsallation whatever we installed using first cab will get deleted.Including files and folders.Reinstallation time how can i check wether text files is updated or not.Also how can i keep those files in same folders..Is any sample code for that..
0
 
vivekpv10Author Commented:
new files are also created.I creating all these files in Program Files->ASH->Data->abc.txt.Here ASH is applcation Name .'Data' folder is created in installtion time itself.abc.txt is newly created file.
0
 
vivekpv10Author Commented:
Ya..ur zone allocation is correct....but still not get any response.
0
 
vivekpv10Author Commented:
Thanks..
0
All Courses

From novice to tech pro — start learning today.