|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Click Once - Additional actions on file downloadI 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,
Show quote "Strider" <Stri***@discussions.microsoft.com> wrote in message You can implement your app so that it programatically checks for updates.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. 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. 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 > > > |
|||||||||||||||||||||||