.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
For the benefit of any interested community member I put together a small demo using a minimal bootstrapping setup program (Win32 C++ desktop application) to create a uniquely named subdirectory under the user's Temp directory, extract WpfSingleTest.exe from its resources, copy it to the newly created subdirectory and run it. The demo creates a new guid at runtime and uses it as the subdirectory name. In this small demo the bootstrapping setup waits for WpfSingleTest.exe to finish its work and exit. At that time it cleans up by deleting the WpfSingleTest.exe program and the subdirectory that contained it. Using a guid for naming the subdirectory ensures that each use of the bootstrapping setup copies WpfSingleTest.exe to a unique (and empty) file system location.
Folder containing the bootstrapping setup. Even though I copied its system dll dependencies to the folder they are ignored in favor of loading from System32.
Demo running -
File system information for running WpfSingleTest.exe -