Pozia,
А если так:
Код:
![Выделить весь код](images/misc/selectcode.png)
#NoTrayIcon
if FileExists (@WindowsDir & "\system32\on.et") Then ShellExecuteWait('"' & @ScriptDir & '\setup.exe"', 'TRANSFORMS=WEPP.MST /qn /noreboot', @ScriptDir)
if FileExists(@WindowsDir & "\system32\on.et") Then ShellExecuteWait('"' & @ScriptDir & '\UP\SP4.exe"', '', @ScriptDir)
Exit
Также можно попробовать заменить последний параметр на @SystemDir, или @WindowsDir.