Script that is executed a single time from a new Beckhoff PC.
The script will:
Insert .bat file into the windows startup folder
Uninstall current TwinCAT
Reboot
Install TwinCAT
Install HMI
Install Chromium
Insert license file
Insert Boot project
Insert HMI project
Reboot
Set auto start TwinCAT to true
Set local IP address
Remove .bat file from startup folder
Reboot
Log everything the script did along the way
Read the .txt instructions text file inside the script folder.