Environment variables are still used by many applications, to give an example: Sun Java Runtime is one of these applications. So there is sometimes a need to define them within an isolated application.
First of all there is no way to define them in the Profiler GUI. One way to define them based on the profiled application streamed to the client is using a pre-launch script running inside the isolation environment, but I’m try to avoid the usage of pre-launch scripts, because it is and additional component to take care of.
A better way is, to define them inside the streamed application target. Windows keeps environment settings in two registry keys: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment for OS related settings and HKCU\Environment for all user related settings.
Using advanced install to update your target gives you the ability to launch the registry editor and change any kind of registry settings. Now it is a simple task to add the environment variables you needed to run the application.