So, i have a software component that installs SQL and all the tools, and then sets the TCP port to a random number. The code runs fine, and everything works as expected, but when the port change code runs in the configure phase of the software component, it always exits with an error of exit code 1. i have looked through all the logs and i can't find anywhere why it's exiting with and error.
I have attached a screen shot. It's also worth noting that this only happens on SQL 2017 installs, but works fine on SQL 2016 install. I'm using the same vCenter template (Windows 2016 Standard). The only difference is the version of SQL. I can run the code locally under the same user account, and it runs perfectly fine.
Any help is greatly appreciated.