Please follow these steps, exactly as written.
1 - Create a new project, and keep clicking Next until the wizard finished, keeping all settings as default.
2 - Save the project on your hard drive, as "Untitled.tu2".
3 - Close TrueUpdate.
4 - To keep things simple, in the same folder where you saved the project file, create a batch file named unattended-build.bat, with the content as shown below. The forum does not allow the posting of the actual batch file as text for security reasons, so it has to be an image.
You need to enter the correct paths to the TrueUpdate executable and the project file, matching your environment, as well as the desired path for the log file, of course. Everything else should stay exactly as shown.
5 - After you made the required changes to the sample batch file above, save it, and open a command prompt in the folder where the batch file was saved. Run the batch file from the command line, and you should get this:
Zero means that there was no error.
6 - Now open the project in TrueUpdate, go to the Project Settings, and enable code signing without actually providing a path to the code signing tool or certificate. Save the modified project, and close TrueUpdate again.
7 - Run the batch file again, and now it should return the error code for the missing code signing tool. (All error codes are listed in the product documentation.)
4300 means "Code sign tool executable does not exist"
8 - Now edit the batch file once more, and point it to the full path of the project file you were attempting to build previously. Execute the batch file again and check the error code.
Ulrich
Leave a comment: