This first part is more of a question than a concern since I don't use
web update.  If you roll a dabo app up through py2exe and still have
web update enabled in the preferences, will it fail to update?  As I
understand it, the web update process works on the source files.  Does
it just ignore the update if being run as a compiled executable?

The reason I ask is because I am distributing some applications to
customers in the form of a py2exe executable packaged into a Inno
Installer installer.  However, I am still writing new features and
fixing bugs and need to push updates out to the clients frequently.  I
want to do a update through the web.  I guess I am asking for
suggestions on how to process the update.  I am thinking of the
following method:

1) Initial codebase compiled into py2exe, packaged into Inno Installer
and given to customer.  They install it.  Codebase has a revision
number hard coded in on compiling.
2) When the user runs the app, the hard coded revision number is
stored into a preference.
3) I have an update, so I compile the updated code into py2exe and put
the compiled exe into a folder on the server.
4) Update the CGI script with the new revision number for the latest version.
5) User runs app and app queries server.  Server checks their revision
number versus the latest revision number.
6) If there is a later revision, the server transfers the new compiled
files to the user.
7) Update is complete, user restarts and app should be updated.

I think this is a little bit different than the way web update handles
it because you can largely go through svn right?  If I have a compiled
py2exe app and try to change some of the files, will I run into file
access error because the program is running?  If so, how exactly would
I go about handling the overwriting of files, especially the main .exe
file?

I understand that this probably will require some heavy server side
scripting, but I would like to get something like this up and running.
 Thoughts, comments, and constructive criticism, are most welcome.

Cheers,

Nate Lowrie


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to