User installs my Silverlight application for out of browser.
I deploy a new version of my Silverlight application to the URL where my silverlight application was previously installed by user in step 1.
User then returns to my web page where they originally installed my application and the update described in step 2 was applied.
User installs from the web page a second time without allowing for the locally installed version to be updated.
When this happens it is installing a second (the updated version) application to the users desktop instead of updating the currently installed version. Is there any way to force the OOB installed version of the application to be updated instead of having a second, updated instance installed alongside the previous version?
EDIT:
How my source URL is defined.
public partial class _default : System.Web.UI.Page
{
private const string XapPath = "ClientBin/Client.xap";
public string HostSource { get; set; }
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
HostSource = string.Concat(XapPath, "?"
, System.IO.File.GetLastWriteTime(Server.MapPath(XapPath)).ToString().GetHashCode());
}
}
Object tag code for the Silverlight App I am trying to update...
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="<%=HostSource %>"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="5.0.61118.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=5.0.61118.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object>