title: Installing Silverlight 4 app with sllauncher does not work
body: <p>I'm trying to install a XAP file offline using sllauncher but it is not working.</p>
  
  <p><strong><em>UPDATE</em></strong> <em>I erased all the existing references and folders for my app and now it seems to be working. I will leave this up as it has some good clues on how to solve this.
  C:\Documents and Settings\Rod\Local Settings\Application Data\Microsoft\Silverlight\OutOfBrowser\index</em></p>
  
  <p>I made a bat file with the following:</p>
  
  <pre><code>"%ProgramFiles%\Microsoft Silverlight\sllauncher.exe" /install:"c:\TourneyManager.xap" /origin:"http://www.pokerdiy.com/Portals/6/TourneyManager/TourneyManager.xap" /shortcut:desktop+startmenu /overwrite
  </code></pre>
  
  <p>I have put the xap file in the same folder as sllauncher, the bat file and now trying my c: root but no joy. It just runs with no error message and nothing in the event log. It is definitely executing sllauncher as I can change a param and generate an error.</p>
  
  <p>If I install the app from the website OOB then run the uninstaller it does uninstall it:</p>
  
  <pre><code>"%ProgramFiles%\Microsoft Silverlight\sllauncher.exe" /uninstall /origin:"http://www.pokerdiy.com/Portals/6/TourneyManager/TourneyManager.xap"
  </code></pre>
  
  <p>My research: After I install it from the website, the shortcut (which works fine OOB) points at this:</p>
  
  <pre><code>"C:\Program Files\Microsoft Silverlight\sllauncher.exe" 1851630633.www.pokerdiy.com
  </code></pre>
  
  <p>I then looked up </p>
  
  <pre><code>C:\Documents and Settings\Rod\Local Settings\Application Data\Microsoft\Silverlight\OutOfBrowser\index
  </code></pre>
  
  <p>and there is a file www.pokerdiy.com which points to the Application ID and fully qualified origin:  </p>
  
  <pre><code>1851630633  http://www.pokerdiy.com/Portals/6/TourneyManager/TourneyManager.xap
  </code></pre>
  
  <p>When I run my bat file offline it creates an applicationID and adds the correct origin to the index file, however, there is no xap file in the folder it creates and no shortcut to run it. I assume it is not finding the xap file for some reason.</p>
  
  <p>Does it matter if the XAP is in release or debug mode? I would not have thought so...</p>
  
  <p>Any suggestions please?</p>