Windows Phone Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!

Digital Home Thoughts

Loading feed...

Laptop Thoughts

Loading feed...

Android Thoughts

Loading feed...

Go Back   Thoughts Media Forums > WINDOWS PHONE THOUGHTS > Windows Phone Developer

Thread Tools Display Modes
Old 08-08-2007, 02:32 PM
Join Date: Apr 2004
Posts: 14
Default Auto update application by downloading new CAB file


I have an application - written in compact framework - which auto updates by periodically downloading a new CAB file. The application then executes the CAB file and exits the current running application by :

Me.Invoke(New EventHandler(AddressOf Me.RunCABFile))
Exit Sub

This worked fine on my PDA running Microsoft Pocket PC.

However, it doesn't run on Windows Mobile 5.

Although the CAB file downloads, current app exits, CAB file runs - I get the message "Installation of /Storage Card/etc....." was unsuccessful.

Would anyone have any ideas why the newly downloaded CAB file refuses to install?

Thanks in Advance,
Reply With Quote
Old 11-27-2007, 08:20 AM
Join Date: May 2005
Posts: 15

We have been successful in doing this using VS2005/CF2/Windows Mobile 5 using this line:

System.Diagnostics.Process.Start("application.CAB", "")

Give it a try. Cheers!!
Sachin Palewar
Palewar Techno Solutions, NAGPUR, INDIA
Reply With Quote
Old 05-20-2008, 02:34 PM
Join Date: May 2008
Posts: 2
Default more details

hi guys,

Can you please explain how you did this autoupdate program?

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 06:05 PM.