Once you created an AIT file, repeat syntax checks, execution, and debugging to finish a complete AIT file that can simulate user operations correctly. You do not need to compile AIT files.
Note that, depending on the JP1/IT Desktop Management 2 - Agent version, you must open the JP1/ITDM2 Automatic Installation Tool window with Administrator permissions when debugging an AIT file for a program that requires Administrator permissions. This restriction applies to JP1/IT Desktop Management 2 - Agent for any of the following OSs: Windows 8.1, Windows 8, Windows Server 2012, Windows 7, Windows Server 2008, and Windows Vista. If the program can be executed with non-Administrator user permissions, you can debug the AIT file with either type of permissions.
The following figure shows the flow of debugging an AIT file:
Figure 2-30 Flow of debugging an AIT file
When you open an AIT file with the Automatic Installation Tool, the Build and Debug menus for debugging are enabled.
The Build menu allows you to detect syntax errors in the AIT file and to execute the active (currently opened) AIT file.
The Debug menu allows you to set breakpoints at which you can stop execution of the AIT file. You can use the Watch window to view and update variable values.
These facilities can be used only for the AIT files that have the extension .ais.
Figure 2-31 Example of replacing the value of InstallerName with the absolute path