thanks everbody

final script:

Case ($IEFullVer >= "5.00.3314.2101") $IEVer = "5.01 SP2" $IEName="Internet Explorer 5.01 SP2 (Windows 95/98 and Windows NT 4.0)"
$LANG = GetFileVersion ("%PROGRAMFILES%\Internet Explorer\iexplore.exe","language")
If $LANG="041DSwedish"
shell "$path\swe\5.01 SP2\q319182.exe /Q:A /R:N /N:V"
Goto slut

EndIf
shell "$path\eng\5.01 SP2\q319182.exe /Q:A /R:N /N:V"
Goto slut



EndSelect

:slut

; Startar om datorn.

If @INWIN=1
$retcode=Shutdown('','Rebooting '+@WKSTA+' after installing mandatory software updates',10,1,1)
Else
; canot get anything else to work reliably on Windows 9x
$retcode=runonce('0-Reboot','%WINDIR%\shelldll SHELL.DLL,RestartDialog',1)
EndIf

Exit

*
Looks like the "shell" command waits until its finished before proceding

*
Have a nice weekend

\erik