Click Once - Additional actions on file download

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all.

I have an application that will be deployed remotely on tablet pc's. It uses
SQL Server Express for storing it's data.

I am planning on deploying the application using click once but I need to
make sure first that it provides me with certain features I cannot live
without:

I need to be notified every time a new application file is downloaded so
that I can perform some custom actions.

For example, I keep the database schema definition in an xml file. Whenever
the schema changes, a new xml file will be distributed to the clients. When
this file is downloaded by a client, it must be provided to a SchemaUpdater
class which will handle the uprade of the database schema.

There seems to be no events under the System.Deployment.Application that
provides this kind of detailed information.
 
Hi Strider,

Strider said:
Hello all.

I have an application that will be deployed remotely on tablet pc's. It
uses
SQL Server Express for storing it's data.

I am planning on deploying the application using click once but I need to
make sure first that it provides me with certain features I cannot live
without:

I need to be notified every time a new application file is downloaded so
that I can perform some custom actions.

For example, I keep the database schema definition in an xml file.
Whenever
the schema changes, a new xml file will be distributed to the clients.
When
this file is downloaded by a client, it must be provided to a
SchemaUpdater
class which will handle the uprade of the database schema.

There seems to be no events under the System.Deployment.Application that
provides this kind of detailed information.

You can implement your app so that it programatically checks for updates.

Look at ApplicationDeployment.CheckForUpdate et.al.

Marcus
 
Hello Marcus.
Thanks for replying!

Unfortunatelly, it seems that click once does not provide information about
it's updates at the file level.
 
Back
Top