Попробуй так:
Код:

#include <GUIConstants.au3>
#include <StaticConstants.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
ShellExecute("c:\stduviewer.exe")
if @error = 1 Then
MsgBox (64, "Ошибка", "Не удается найти установочный файл", 2)
else
MsgBox (64, "Правильно", "Файл найден", 2)
EndIf