Automatic Updates for PDA software

  • Thread starter Thread starter BadMrFrosty
  • Start date Start date
B

BadMrFrosty

Is there a way to write a program that when it connects to network it sees
if there is an update and updates itself.

I have been told you have to write a helper app that will load and close the
old program and boot up the new updated program.

Is there any same code for this. The link was broken on the gotdotnet site
for something similar I think.

Has anyone done this or know where I can find code or buy it.

Thanks
 
The reason for the helper app is because you would not be able to update
(copy over) the exe file if the exe is running. I do the following in my
app:

I have a small loader program which is the name of my application. When this
is run by the user on the PPC it compares the date/time of the real
application exe file (which is in the same folder as the loader exe) with
the date/time of the application exe in another temporary folder.

The temporary folder is a folder beneath "My Documents" on the PPC and hence
it can be ActiveSynced with a folder on my network. When a new version of
the application exe is available, I copy it to the synced folder on my PC
and hence it is automatically copied to the temporary folder on the PPC.

If the loader program finds the date/times of the two exe's is identical it
just runs the one in its own folder. If the one in the temporary folder is
newer, that version is copied over and executed. Although I'm currently
using the exe date/time it could be changed to use a version number.

John.
 
Are there any articles or code on the net that will is out there. I have to
have it implemented by Sunday and would rather not start building my own
from scratch. Because I'm afraid I would implement too many new bugs. I
don't know much about web services but I'm sure I can do this. I was just
hoping there was a solution out there somewhere that I could modify as this
seems to be a common need.

One more question. Can you do active syncing over wireless network
connection. how would you call this.

Thanks
John
 
Back
Top