Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 2: Obtain the AppUserModelID of the Wireless Display App

Windows makes it hard to launch the Wireless Display app using conventional methods, instead we need to do it using it’s AppUserModelID.

Follow these steps:

  1. Open PowerShell:

    • Press Win + X and select Windows PowerShell or Windows PowerShell (Admin).

  2. Execute the following command to list apps related to wireless display:

    Code Block
    Get-StartApps | Where-Object { $_.Name -like "*Wireless*" -or $_.Name -like "*Display*" -or $_.Name -like "*Connect*" }

  3. Note the AppID from the output, which should resemble:

    Code Block
    languagenone
    Name AppID ---- ----- Wireless Display Microsoft.WirelessDisplay.Connect_cw5n1h2txyewy!App

    In this example, the AppID is Microsoft.WirelessDisplay.Connect_cw5n1h2txyewy!App.

Step 3: Create a Batch File to Launch the App via Igloo Core Engine

...

Open Notepad or your preferred text editor.

...

Use the following commands, replacing {AppID} with the actual AppID you obtained:

Code Block
@echo off 
start explorer.exe shell:appsFolder\{AppID} 
exit

Example:

Code Block
@echo off 
start explorer.exe shell:appsFolder\Microsoft.

...

PPIProjection_cw5n1h2txyewy!Microsoft.PPIProjection 
exit

Step 4: Create a Batch File to Close the App via Igloo Core Engine

Code Block
@echo off 
taskkill /f /fi "WINDOWTITLE eq Wireless Display*"
exit

Step 5: Layer Configuration

  1. Open the Wireless Display

  2. Create an AppView Layer and Capture the Wireless Display App

  3. Configure the ‘On Add Batch’ and ‘On Remove Batch’ file using the batch files generated in steps 3 and 4.

  4. Save the FileSession