If you use "desktop+startmenu" as the value to the parameter, it will install it both in the desktop and startmenu of your operating system. If you just set desktop or startmenu as the value to the flag, it will create the shortcut in desktop or startmenu depending on the parameter you set. You can specify the shortcut location of the application by setting the value to the " /shortcut" flag.
When you call the CheckAndDownloadUpdateAsync() method from code, it will try to get the update from the specified location. You can specify the URL for future update location of the application by setting the " /origin" flag. You have to pass the location of your XAP file as a parameter value to the " /install" flag. xap /shortcut:desktop+startmenu /overwrite
You will notice that the target location is set to "Microsoft Silverlight" and the target is set to something similar to the following line:Ĭopy Code "C:\Program Files\Microsoft Silverlight\sllauncher.exe" Right click on the shortcut & go to its properties. If you have already installed your OOB application, it will create a shortcut to launch the application from desktop or start menu. This EXE file now has the capability to install your Silverlight OOB application silently without opening the browser window.
exe file named " sllauncher.exe" which you can find in your " Program Files\Microsoft Silverlight\" directory. When you install Silverlight plug-in, it also installs a. How Silverlight Out-of-Browser Application Works?īefore going to implement the feature, we will first discuss how the Silverlight OOB application works. In this article, I will describe it and after reading it, you will be able to install your Silverlight OOB Application (XAP) silently in your local drive and run it from the desktop or startmenu without opening the browser. How can you do that? Silverlight 4 now came up with that feature for you. Now imagine some scenarios where you want to install the Silverlight application (XAP) using your Installer silently without the user interaction. In those articles, you have seen that I wrote code for installing the OOB application from the browser window.
Hope, you read my previous articles on the Out of Browser application development and have confidence building applications. If you are new to Silverlight Out-of-Browser application development, you can read the complete guide in " How can you implement the Silverlight 3 Out Of Browser feature?" Also have a look into the following article to get the basic understanding of Silverlight 4 Out Of Browser feature " Silverlight 4: How can I create customized OOB Window?"
We tried using port 80 (http indicated by Samsung discovery tool), chrome, internet explorer, restarting the browser, rebooting the PC, using the full http. When we try to install again, it confirms we already have Silverlight installed. Silverlight 4 now has support for installing out-of-browser application silently. The install seems to go fine but when we go back to the camera, it prompts us to download silverlight again.