Variable that is set to the HTTP status code of the most recent download action. The LastStatusCode variable is set by the Download File action, and also by the DownloadArchives action if any parts of the installation package have to be downloaded during installation.

HTTP status codes starting with 2 indicate some form of success, while HTTP status codes starting with 4 or 5 indicate an error. See List of HTTP status codes for further details.



You can refer to this variable as <LastStatusCode>. In conditional expressions you can omit the brackets and simply use LastStatusCode = 200 as a test for success, or LastStatusCode >= 300 for failure. This variable is automatically set by InstallMate when a download action takes place.