E
Ericdukece
Guest
Hello-
I'm using Windows 10 LTSC build 1809 and WICD to create a provisioning package for my desktop application to run in Kiosk mode. I made sure to get the correct WICD version that supports 1809. I exported a start menu layout and imported that xml into the package. The package applies without any errors. When I reboot the machine the custom menu shows very briefly then throws "unhandled unknown exception; terminating the application". After clicking okay I get the custom start menu and I can launch the application and it works fine. As a test I substituted notepad.exe for my executable and it works. As another test I removed the autolaunch=true option, no errors happen but I have to run the app from the start menu. Problem is I can't find any logs that will help me diagnose the issue. Nothing in windows event logs, nothing in applocker, assignedaccess, appxdeployment. How can I figure out this problem?
Here is my layout.xml
<?xml version="1.0" encoding="utf-8" ?>
<AssignedAccessConfiguration
xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"
xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
>
<Profiles>
<Profile Id="{xxx">
<AllAppsList>
<AllowedApps>
<App DesktopAppPath="%windir%\system32\DRIVERSTORE\FILEREPOSITORY\CUI_DC_COMP.INF_AMD64_82F69CEA8B2D928F\IGFXEM.EXE " />
<App DesktopAppPath="%windir%\system32\DRIVERSTORE\FILEREPOSITORY\CUI_DC_COMP.INF_AMD64_82F69CEA8B2D928F\GFXDOWNLOADWRAPPER.EXE" />
<App DesktopAppPath="%SystemDrive%\program files\recon\r_gui.exe" rs5:AutoLaunch="true" />
</AllowedApps>
</AllAppsList>
<StartLayout>
<![CDATA[
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
<LayoutOptions StartTileGroupCellWidth="6" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6">
<start:Group Name="S Apps">
<startesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\r_gui.lnk" />
</start:Group>
</defaultlayout:StartLayout>
</StartLayoutCollection>
</DefaultLayoutOverride>
</LayoutModificationTemplate>
]]>
</StartLayout>
<Taskbar ShowTaskbar="false"/>
</Profile>
</Profiles>
<Configs>
<Config>
<AutoLogonAccount rs5isplayName="run app"/>
<DefaultProfile Id="{xxx}"/>
</Config>
</Configs>
</AssignedAccessConfiguration>
Thank you
Eric
More...
I'm using Windows 10 LTSC build 1809 and WICD to create a provisioning package for my desktop application to run in Kiosk mode. I made sure to get the correct WICD version that supports 1809. I exported a start menu layout and imported that xml into the package. The package applies without any errors. When I reboot the machine the custom menu shows very briefly then throws "unhandled unknown exception; terminating the application". After clicking okay I get the custom start menu and I can launch the application and it works fine. As a test I substituted notepad.exe for my executable and it works. As another test I removed the autolaunch=true option, no errors happen but I have to run the app from the start menu. Problem is I can't find any logs that will help me diagnose the issue. Nothing in windows event logs, nothing in applocker, assignedaccess, appxdeployment. How can I figure out this problem?
Here is my layout.xml
<?xml version="1.0" encoding="utf-8" ?>
<AssignedAccessConfiguration
xmlns="http://schemas.microsoft.com/AssignedAccess/2017/config"
xmlns:rs5="http://schemas.microsoft.com/AssignedAccess/201810/config"
>
<Profiles>
<Profile Id="{xxx">
<AllAppsList>
<AllowedApps>
<App DesktopAppPath="%windir%\system32\DRIVERSTORE\FILEREPOSITORY\CUI_DC_COMP.INF_AMD64_82F69CEA8B2D928F\IGFXEM.EXE " />
<App DesktopAppPath="%windir%\system32\DRIVERSTORE\FILEREPOSITORY\CUI_DC_COMP.INF_AMD64_82F69CEA8B2D928F\GFXDOWNLOADWRAPPER.EXE" />
<App DesktopAppPath="%SystemDrive%\program files\recon\r_gui.exe" rs5:AutoLaunch="true" />
</AllowedApps>
</AllAppsList>
<StartLayout>
<![CDATA[
<LayoutModificationTemplate xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" Version="1" xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification">
<LayoutOptions StartTileGroupCellWidth="6" />
<DefaultLayoutOverride>
<StartLayoutCollection>
<defaultlayout:StartLayout GroupCellWidth="6">
<start:Group Name="S Apps">
<startesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\r_gui.lnk" />
</start:Group>
</defaultlayout:StartLayout>
</StartLayoutCollection>
</DefaultLayoutOverride>
</LayoutModificationTemplate>
]]>
</StartLayout>
<Taskbar ShowTaskbar="false"/>
</Profile>
</Profiles>
<Configs>
<Config>
<AutoLogonAccount rs5isplayName="run app"/>
<DefaultProfile Id="{xxx}"/>
</Config>
</Configs>
</AssignedAccessConfiguration>
Thank you
Eric
More...