Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Web Application Updates

 
 
Old 04-25-2006   #1 (permalink)
Sfw_Kris


 
 

Web Application Updates

Hello,

I've deployed an xbap application in IIS for testing however it is not
checking for updates each time it runs. I've located code that indicates I
should use a deployment tag inside the deployment manifest. However when I
place this tag inside of the manifest I get an error saying that deployment
is an invalid tag. What I would like to know is how to get beta 2 web
applications to check for updates on load (I've included the tags I'm using
below, just in case I've got them wrong). Thanks.

<deployment install="true">
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
</deployment>

My System SpecsSystem Spec
Old 04-26-2006   #2 (permalink)
Ashish Shetty [MSFT]


 
 

Re: Web Application Updates

Did you set the content expiration setting in IIS? See

http://windowssdk.msdn.microsoft.com...0ec9639433.asp

XBAPs have no customizable update mechanism. Every time you launch one of
these apps, the platform loads the latest version. Are you incrementing the
version number with every build or publish?


--
Ashish Shetty [MSFT]
Program Manager, Windows Presentation Foundation (Avalon)
Blog: http://nerddawg.blogspot.com


"Sfw_Kris" <SfwKris@discussions.microsoft.com> wrote in message
news:1E4D6195-D87A-46BD-81F8-BF2A7BD53CD8@microsoft.com...
> Hello,
>
> I've deployed an xbap application in IIS for testing however it is not
> checking for updates each time it runs. I've located code that indicates I
> should use a deployment tag inside the deployment manifest. However when I
> place this tag inside of the manifest I get an error saying that
> deployment
> is an invalid tag. What I would like to know is how to get beta 2 web
> applications to check for updates on load (I've included the tags I'm
> using
> below, just in case I've got them wrong). Thanks.
>
> <deployment install="true">
> <subscription>
> <update>
> <beforeApplicationStartup />
> </update>
> </subscription>
> </deployment>



My System SpecsSystem Spec
Old 04-27-2006   #3 (permalink)
Sfw_Kris


 
 

Re: Web Application Updates

Hello,

Thank you for the reply, unfortunately I'm still having trouble. I set up
the expiration and mime types for my application as specified in the document
you provided. I tried deploying the xbap with and without an increment on the
version number as well but the latest version is not downloaded unless I
delete the data sitting in local settings/apps. I'm deploying the xbap from a
directory set up as an application with the http header settings set as per
the document provided, I'm using the bundled IIS that comes with XP pro (my
development machine). Are there any issues with this sort of deployment
scheme?

"Ashish Shetty [MSFT]" wrote:

> Did you set the content expiration setting in IIS? See
>
> http://windowssdk.msdn.microsoft.com...0ec9639433.asp
>
> XBAPs have no customizable update mechanism. Every time you launch one of
> these apps, the platform loads the latest version. Are you incrementing the
> version number with every build or publish?
>
>
> --
> Ashish Shetty [MSFT]
> Program Manager, Windows Presentation Foundation (Avalon)
> Blog: http://nerddawg.blogspot.com
>
>
> "Sfw_Kris" <SfwKris@discussions.microsoft.com> wrote in message
> news:1E4D6195-D87A-46BD-81F8-BF2A7BD53CD8@microsoft.com...
> > Hello,
> >
> > I've deployed an xbap application in IIS for testing however it is not
> > checking for updates each time it runs. I've located code that indicates I
> > should use a deployment tag inside the deployment manifest. However when I
> > place this tag inside of the manifest I get an error saying that
> > deployment
> > is an invalid tag. What I would like to know is how to get beta 2 web
> > applications to check for updates on load (I've included the tags I'm
> > using
> > below, just in case I've got them wrong). Thanks.
> >
> > <deployment install="true">
> > <subscription>
> > <update>
> > <beforeApplicationStartup />
> > </update>
> > </subscription>
> > </deployment>

>
>
>

My System SpecsSystem Spec
Old 04-28-2006   #4 (permalink)
Karen Corby [MSFT]


 
 

Re: Web Application Updates

Hi,

Can you verify that the version number is being updated in the deployment
manifest?

1. Open the .xbap file in notepad
2. Look at the tag.. Is the version number updated?
<assemblyIdentity name="CubeAnimation.exe" version="1.0.0.0"
publicKeyToken="ea7b5fb635a84ad6" language="neutral"
processorArchitecture="msil" type="win32" />

"Sfw_Kris" wrote:

> Hello,
>
> Thank you for the reply, unfortunately I'm still having trouble. I set up
> the expiration and mime types for my application as specified in the document
> you provided. I tried deploying the xbap with and without an increment on the
> version number as well but the latest version is not downloaded unless I
> delete the data sitting in local settings/apps. I'm deploying the xbap from a
> directory set up as an application with the http header settings set as per
> the document provided, I'm using the bundled IIS that comes with XP pro (my
> development machine). Are there any issues with this sort of deployment
> scheme?
>
> "Ashish Shetty [MSFT]" wrote:
>
> > Did you set the content expiration setting in IIS? See
> >
> > http://windowssdk.msdn.microsoft.com...0ec9639433.asp
> >
> > XBAPs have no customizable update mechanism. Every time you launch one of
> > these apps, the platform loads the latest version. Are you incrementing the
> > version number with every build or publish?
> >
> >
> > --
> > Ashish Shetty [MSFT]
> > Program Manager, Windows Presentation Foundation (Avalon)
> > Blog: http://nerddawg.blogspot.com
> >
> >
> > "Sfw_Kris" <SfwKris@discussions.microsoft.com> wrote in message
> > news:1E4D6195-D87A-46BD-81F8-BF2A7BD53CD8@microsoft.com...
> > > Hello,
> > >
> > > I've deployed an xbap application in IIS for testing however it is not
> > > checking for updates each time it runs. I've located code that indicates I
> > > should use a deployment tag inside the deployment manifest. However when I
> > > place this tag inside of the manifest I get an error saying that
> > > deployment
> > > is an invalid tag. What I would like to know is how to get beta 2 web
> > > applications to check for updates on load (I've included the tags I'm
> > > using
> > > below, just in case I've got them wrong). Thanks.
> > >
> > > <deployment install="true">
> > > <subscription>
> > > <update>
> > > <beforeApplicationStartup />
> > > </update>
> > > </subscription>
> > > </deployment>

> >
> >
> >

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Send to function wont open WinMail and attach pdf from adobe application. I know this can be accomplished by right clicking on the pdf file but I need the application to do the task. Any suggestions? Vista mail
appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY Vista General
Application Error - CD MFC Application has stopped working Vista General
Setup.exe application error installing updates Vista installation & setup
Setup.exe application error installing updates Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46