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

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

Hi,

I have an application - written in vb.net 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))
Application.Exit()
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,
PD
 
Reply With Quote
  #2  
Old 11-27-2007, 08:20 AM
palewar
Pupil
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
http://www.palewar.com
 
Reply With Quote
  #3  
Old 05-20-2008, 02:34 PM
ram2008
Neophyte
Join Date: May 2008
Posts: 2
Default more details

hi guys,

Can you please explain how you did this autoupdate program?

Thanks
Ram
 
Reply With Quote
Reply


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 04:11 AM.