Home All Groups Group Topic Archive Search About

Click Once - Additional actions on file download

Author
6 Jun 2006 1:36 PM
Strider
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.

Author
6 Jun 2006 4:00 PM
Marcus Heege
Hi Strider,

Show quote
"Strider" <Stri***@discussions.microsoft.com> wrote in message
news:0BECF8E7-C178-4AA3-B18F-3F025C2A1FC7@microsoft.com...
> 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
Author
7 Jun 2006 8:39 AM
Strider
Hello Marcus.
Thanks for replying!

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

Show quote
"Marcus Heege" wrote:

> Hi Strider,
>
> "Strider" <Stri***@discussions.microsoft.com> wrote in message
> news:0BECF8E7-C178-4AA3-B18F-3F025C2A1FC7@microsoft.com...
> > 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
>
>
>

AddThis Social Bookmark Button