Thursday 20 October 2011

sllauncher.exe 5.0.60818.0 - OutOfBrowserSettings.Icons Issue

We've been testing an SL4 app which is used both in and out of browser agains SL5RC. Which runs fine in browser, but when launched out-of-browser, sllauncher crashed with the following error:

Faulty module name: unknown v0.0.0.0

Exception Code: 0xc0000005

I created a dummy SL5 test app and it ran OOB fine.

After stripping back our main app to almost nothing I still had the same problem, but I noticed we had icons set in the OOB settings. OutOfBrowserSettings.xml Example:

<OutOfBrowserSettings ShortName="SLApp" EnableGPUAcceleration="True" ShowInstallMenuItem="False">
  <OutOfBrowserSettings.Blurb>Install SLApp application out of the browser</OutOfBrowserSettings.Blurb>
  <OutOfBrowserSettings.WindowSettings>
    <WindowSettings Title="SLApp" Height="60" Width="595" />
  </OutOfBrowserSettings.WindowSettings>
  <OutOfBrowserSettings.SecuritySettings>
    <SecuritySettings ElevatedPermissions="Required" />
  </OutOfBrowserSettings.SecuritySettings>
  <OutOfBrowserSettings.Icons>
    <Icon Size="16,16">Icons/SLApp16x16.png</Icon>
    <Icon Size="32,32">Icons/SLApp32x32.png</Icon>
    <Icon Size="48,48">Icons/SLApp48x48.png</Icon>
    <Icon Size="128,128">Icons/SLApp128x128.png</Icon>
  </OutOfBrowserSettings.Icons>
</OutOfBrowserSettings>

(These settings can be set in the SL app OOB properties dialogue as well)

IF THE ICONS BLOCK IS REMOVED:

<OutOfBrowserSettings ShortName="SLApp" EnableGPUAcceleration="True" ShowInstallMenuItem="False">
  <OutOfBrowserSettings.Blurb>Install SLApp application out of the browser</OutOfBrowserSettings.Blurb>
  <OutOfBrowserSettings.WindowSettings>
    <WindowSettings Title="SLApp" Height="60" Width="595" />
  </OutOfBrowserSettings.WindowSettings>
  <OutOfBrowserSettings.SecuritySettings>
    <SecuritySettings ElevatedPermissions="Required" />
  </OutOfBrowserSettings.SecuritySettings>
</OutOfBrowserSettings>

The aplication runs fine OOB!

This looks like a bug in sllauncher.exe 5.0.60818.0.