Hello!
Created the msi package, which sets the system environment variables (test.msi). I included this msi in the pre-installation (feature-based) in the main exe (main.exe). After the installation of the main.exe, the system environment variables appeared, but they are not valid until you restart the computer.
But if you first install separately msi, and then main.exe (without test.msi), then everything works without restarting the computer.
What should I do to get around this problem?