Search code examples
silverlightsilverlight-4.0silverlight-oob

Updating XAP withouth changing the app_id : sllauncher.exe


I have a Silverlight application installed Out-Of-Browser on multiple computers. Now I'd want to update the xap on those. I dont want to manually update every computer.

I know I can do it through sllauncher.exe but the problem is that my application is changing its app_id. I need to preserve it, is there any way to do that?

secondly, we need to specify a local file with the /install parameter. It does not seems to work if I specify the web url to my new xap, is that normal?

Thanks


Solution

  • I realized I can do it just by replacing the xap file directly in the local drive here :

    "C:\Users\myuser\AppData\Local\Microsoft\Silverlight\OutOfBrowser\1111111111.appName\appName.xap"

    But I am not sure it doesn't mess up anything by doing it that way. But it seems to work fine though.