Click Once - Additional actions on file download

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.
 
M

Marcus Heege

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
 
G

Guest

Hello Marcus.
Thanks for replying!

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top