M
Martijn Cox
Hello,
I have created an autoupdater webservice for my PPC2003 application, and
have managed to retrieve the download.cab from my web service on my device.
Next, however, while trying to install the new version, I run into the
fundamental problem of not being able to run the installer cab, since the
old version of the application (which has spawned the autoupdate request) is
still running. When wceload then tries to install the cab, it rightfully
complains of a lock on the application executable, not being able to
overwrite the currently runnning version.
Of course the simplest workaround would be to let the user run the
update.cab file after closing the application, but there is no guarantee my
user base will be tech-savy enough to perform the necessary actions (that
is, a) open an explorer and b) let wceload.exe execute the cab-file by
clicking on it). I can think of some other options (create a process which
kills the current user application), but they don't seem elegant, requiring
much works for something that is or seems to be so simple.
Is there a simple solution for this problem?
Thanks in advance,
Martijn Cox
I have created an autoupdater webservice for my PPC2003 application, and
have managed to retrieve the download.cab from my web service on my device.
Next, however, while trying to install the new version, I run into the
fundamental problem of not being able to run the installer cab, since the
old version of the application (which has spawned the autoupdate request) is
still running. When wceload then tries to install the cab, it rightfully
complains of a lock on the application executable, not being able to
overwrite the currently runnning version.
Of course the simplest workaround would be to let the user run the
update.cab file after closing the application, but there is no guarantee my
user base will be tech-savy enough to perform the necessary actions (that
is, a) open an explorer and b) let wceload.exe execute the cab-file by
clicking on it). I can think of some other options (create a process which
kills the current user application), but they don't seem elegant, requiring
much works for something that is or seems to be so simple.
Is there a simple solution for this problem?
Thanks in advance,
Martijn Cox