I am trying to use SLLAUNCHER.EXE to launch the installed SL Out-of-Browser App. The MyApp launch icon on the desktop simply disappears after starting below. If I try it without rewriting, nothing will happen.
I use this article as a guide:
http://timheuer.com/blog/archive/2010/03/25/using-sllauncher-for-silent-install-silverlight-application.aspx
Any suggestions would be appreciated.
static void Main(string[] args) { string sllauncherPath = string.Format("{0}\\Microsoft Silverlight\\sllauncher.exe", Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)); string originUri = @"http://localhost:52878/ClientBin/MyApp.xap"; string xap = "MyApp.xap"; string arg = string.Format(@"/emulate:""{0}"" /origin:""{1}"" /overwrite", xap, originUri); var startInfo = new ProcessStartInfo { CreateNoWindow = false, UseShellExecute = false, RedirectStandardOutput = false, FileName = sllauncherPath, Arguments = arg }; var process = Process.Start(startInfo)) }
kamran
source share