Okay that information was very helpful, I just need help making this loop work, I thought I would be okay with the syntax but apparently not.
$osv = @OSVersion
$ost = @OSArch
MsgBox(0, "Version", "This is:" & @OSVersion)
;MsgBox(0, "", "CPU architecture = " & @OSArch & @CRLF & "OS Version = " & @OSVersion)
MsgBox(0, "CPU Architecture", "This runs:" & @OSArch)
If $osv = WIN_XP or WIN_XPe Then
MsgBox(0, "", "Now Installing Xp Version...")
Break(1)
ElseIf $ost = X64 Then
MsgBox(0, "", "Installing Vista/7 64 bit whatever")
Break(1)
Else
MsgBox(0,"","Installing Vista/7 32 bit whatever")
EndIf