2010-06-03 33 views

回答

1

虽然我没有尝试过,但我不明白他们为什么不能。

我假设他们可以浏览到C:\Users\<user>\AppData\Local\Microsoft\Silverlight\OutOfBrowser并复制xap文件。剩下要做的就是调用sllauncher.exe将它安装在新计算机上。

"C:\Program Files\Microsoft Silverlight\sllauncher.exe" 
          /install:"C:\Temp\Example.xap" 
          /origin:"http://www.someurl.com/silverlight" 
          /shortcut:desktop 

我不知道有什么策略可以用来防止这种情况发生。

+0

我试过了,但它不工作。这似乎是我需要的起源地址: http://timheuer.com/blog/archive/2010/03/25/using-sllauncher-for-silent-install-silverlight-application.aspx – 2010-07-15 13:29:59

+0

糟糕,你就是。我编辑了我的答案以包含原始参数 – marcnicol 2010-07-28 09:02:33

相关问题