- Newest
- Most votes
- Most comments
What is odd, is that when I launch the fleet in Desktop-Stream-View, and then click on "Desktop" it takes me to the Windows desktop and I can see the VHD mounted both on the folder path and as a drive. I can navigate to the executable and launch it. But while in this view, if I click on the "4 boxes" icon on the top-left and try to launch my application from it's AppStream catalog link, nothing happens.
This implies that the path to the launch executable that's been specified as the Application resource to AppStream 2.0 is incorrect in some way. Basically since you've validated that 1/ the setup script is successful (since the VHD mounted), and 2/ you can launch the app directly from the VHD mounts, then the issue is that AppStream 2.0 is having an issue with launching the application. This is most likely because either the path to the application executable or the launch is invalid in some way - or has invalid characters.
Hope that helps!
We have a workshop that walks through all the steps to create your first Elastic fleet. It sounds like you are really close. You can use this to check your app block / application configuration.
Thank you for this. I was able to verify that we have set everything up similar to the guidance given in the workshop link. MuraliAtAWS's suggestion of loading the application via Powershell did the trick. We will continue to monitor to see if we get the black screen again.
Relevant content
- Accepted Answerasked 3 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
One other thing I thought of - some applications don't like the way AppStream 2.0 launches applications. You can try using Powershell to launch it by specifying "C:\windows\system32\powershell.exe" as your executable, and then "C:\myApps\TestApp\TestApp.exe" as the launch parameter.
It looks like this was it. I first added Putty.exe as another application on the VHD and associated it to the Elastic Fleet and it loaded just fine. I then took your suggestion to load the original application via powershell, so my application setup became:
Application executable launch path: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe Application working directory: C:\myApps\TestApp Application launch parameters: Start-Process -FilePath "C:\myApps\TestApp\TestApp.exe"
This got the application loaded! I was able to load it by clicking the AppStream catalog link in Desktop-Stream-View as well as via App-Stream-View (which is our target view).
I did; however, experience two instances where black screen happened again, even when loading Putty. I assume that maybe the AppStream internals were not done setting up behind the scenes, or possibly a random bad instance deployment. Our VHD is very simple and our target application small as well (110mb).
Now that we have it set up, we will continue to test and monitor our experiences. I very much appreciate your help!