;=============================================================================== ; ; Description: Firefox Installer ; Parameter(s): none ; Requirement(s): AutoIT ; Return Value(s): Logfile ; Author(s): Joshua Morris ; Note(s): This script installs Firefox ; Last Modified: 7/15/11 ; ;=============================================================================== ;#include "include\file.au3" ;in case UAC is on ;#requireadmin - commented out as don't want this script to have admin, merely the launched program below AutoItSetOption("TrayIconDebug",1) $username = "adminusername" $password = "adminpassword" ;run the installer If Not IsAdmin() Then RunAsWait($username,@ComputerName,$password, 0, "C:\Users\Public\Desktop\Firefox Setup 5.0.1.exe -ms", @SystemDir) MsgBox(0,"","Firefox install complete",2) EndIf