Silverlight uses the sllauncher.exe tool to install, run, and uninstall out-of-browser applications. Additionally, Visual Studio 2010 uses this tool to run out-of-browser applications in emulation mode to enable debugging. You will not typically use this tool directly unless you need to perform these actions in custom scripts.
The following list describes some of the error messages that this tool can display:
- ERROR_PRODUCT_VERSION (0x80070666) – The application has already been installed for out-of-browser use.
- E_ACCESSDENIED (0x80070005) – The sllauncher tool requires administrator privileges, which are not currently present.
- E_INVALIDARG (0x80070057) – The input arguments are incorrect. This error displays one of the following messages:
- Not enough parameters
- Usage: SLLauncher.exe [app_id] [debug] [/install:<file path to XAP>]
[/emulate:<file path to XAP>] [/overwrite] /origin:<original app uri>
/uninstall /shortcut:<desktop|startmenu|desktop+startmenu|none> [/pid]
Install option specified more than once
XAP file path required for /install option
Emulate option specified more than once
XAP file path required for /emulate option
Origin option specified more than once
Origin application uri required for /origin option
Shortcut option specified more than once
Uninstall option specified more than once
AppId cannot be specified with install or emulate options
Application origin URI must be specified with install or emulate option
For failure cases that originate from Silverlight, the sllauncher tool returns the Silverlight error code. For more information, see Silverlight Plug-in Error Messages.
If you encounter an error that you cannot resolve using this information, you can find additional help on the Silverlight forums.