I have an alternative solution(However, it needs to be predefined.):
If the .NET 8 runtime is not installed on the current system, and there is a file named insNet8RT.exe in the program directory, then launch insNet8RT.exe directly. This file is compiled with QM and does not require a runtime, for example, the code below.
Macro insNet8RT
If the .NET 8 runtime is not installed on the current system, and there is a file named insNet8RT.exe in the program directory, then launch insNet8RT.exe directly. This file is compiled with QM and does not require a runtime, for example, the code below.
Macro insNet8RT