Use the @PRODUCTTYPE macro.

 Code:
If @PRODUCTTYPE = 'Windows XP Professional'