Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use launch UI interactions to launch a UI application. The application should be related to the current task being performed.
The following shows how to specify launch UI interactions in your manifest. For details on the contents of a launch UI interaction, see the LaunchUIInteraction complex type.
<Interactions>
<SingleResponseInteractions/>
<MultipleResponseInteractions/>
<TextInteractions/>
<PauseInteractions/>
<LaunchUIInteractions>
<LaunchUIInteraction>
<Parameters>
<Parameter>
<Name>arg</Name>
<DefaultValue/>
</Parameter>
</Parameters>
<CommandLine>%windir%\System32\Notepad.exe %arg%</CommandLine>
<ID>LaunchNotepad</ID>
<DisplayInformation>
<Parameters/>
<Name>Launch text editor</Name>
<Description/>
</DisplayInformation>
<ContextParameters/>
<ExtensionPoint>
<NoCache/>
</ExtensionPoint>
</LaunchUIInteraction>
</LaunchUIInteractions>
</Interactions>
The following shows how to invoke the previous interaction in a script.
Get-DiagInput -Id "LaunchNotepad" -Parameter @{"arg"="FULLPATHGOESHERE"}