Alberto,

not sure if this helps. But there is a #pragma TERMINAL_SERVER_AWARE in
SetupBuilder.

This will set a flag in the IMAGE_OPTIONAL_HEADER DllCharacteristics field
in the setup image's optional header. When this flag is set, Terminal
Server will *not* make certain changes to the application.

Background: when an application is *not* Terminal Server aware (aka a legacy
application), Terminal Server makes certain modifications to the legacy
application to make it work properly in a multi-user environment. For
example, Terminal Server will create a virtual Windows folder, such that
each user gets a Windows folder instead of getting the system's Windows
directory.

Friedrich

--
Friedrich Linder
Lindersoft | SetupBuilder | www.lindersoft.com
Voice: +1.954.537.3701 | Fax: +1.954.537.3702

--SetupBuilder "point. click. ship"
--Helping You Build Better Installations
--Create Windows 10 ready installations in minutes
--Official COMODO Code Signing and SSL Certificate Partner