The sllauncher.exe has the following not very helpful usage text:
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]
I'm specifically interested in what the /pid
switch does. I can't seem to find a link fully documenting sllauncher's command-line switches.
I realize this is extremely late, but I recently had the same question. The best documentation I could find is the post Installing Silverlight applications without the browser involved by Tim Heuer of Microsoft:
/install:"path-toXAP-File" - this is the first and points to the XAP file you are wanting to install. This might be on a network share, on the CD, or in an installer. This is required.
/origin:"URI-to-origin" - this is the 'origin' of the XAP and is required. Even though you might not be using auto-update features, etc. you must set this. I actually recommend being smart about it and having the XAP on a real URI endpoint as well so that your origin is actually real.
/shortcut:desktop+startmenu - while this is optional, it actually seems silly not to include at least one – or your users will have a hard time launching your application! You can use: desktop, startmenu, or desktop+startmenu (my recommendation).
/overwrite - this option confirms the XAP you are installing will overwrite any existing version currently there. This is optional, but again, I think you should use it.
Below that section he demonstrates /emulate:"path-toXAP-File"
as a way to specify a previously installed XAP to launch (matched by /origin
).
Sorry, I couldn't find anything about the /pid
switch either.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With