thanks for the help.....this is what I have so far...I can't seem to get the Shell @LDrive to work correctly. I want to split the load so as to pull from whichever server the user logs on from.
code:
;===============================================================================================
; Check for and register tqcrunas.dll
;===============================================================================================
Select
Case @INWIN >= 1
$ReturnCode = ExistKey("HKEY_CLASSES_ROOT\CLSID\{04F47D98-3495-4634-B195-AAEBB9DB5DD2}\InprocServer32")
If $ReturnCode <> 0
Shell @LDRIVE + "\TqcRunas -f \\@LDRIVE\registerdll.tqc "
EndIf
EndSelect
;===============================================================================================
;Windows Hot Fixes and Service Packs - Check Registry and Install if needed
;===============================================================================================
Select
Case @PRODUCTTYPE = "Windows XP Professional"
$ReturnCode = ExistKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP2\KB824146")
If $ReturnCode <> 0
MessageBox("A Windows Critical Update is being installed to your PC. Once finished, a restart may be required.","Windows Critical Update KB824146",64,30)
Shell "@LSERVER \os\KB824146\WindowsXP-KB824146.tqc"
EndIf
Case @PRODUCTTYPE = "Windows 2000 Professional"
$ReturnCode = ExistKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\KB824146")
If $ReturnCode <> 0
MessageBox("A Windows Critical Update is being installed to your PC. Once finished, a restart may be required.","Windows Critical Update KB824146",64,30)
Shell "@LSERVER \os\KB824146\Windows2K-KB824146.tqc"
EndIf
EndSelect
Exit