Page 1 of 1

How do I obtain Windows Installer variables

Posted: Mon Oct 18, 2010 11:18 am
Hi,

What I really want to do is to obtain whether the OS is Home or Professional. I was able to do that in Wise by querying the 'MsiNTSuitePersonal' Windows Installer Variable and if set to 1 it was home and if not it was professional (or at least not HOME).

thanks for your help,

Steve

Re: How do I obtain Windows Installer variables

Posted: Mon Oct 18, 2010 3:25 pm
by mills
There is no support to determine the OS edition at the time.

You may try checking the registry (see first link below) or create a dll that calls GetVersionEx().

http://bytes.com/topic/windows/answers/ ... os-version

http://techsupt.winbatch.com/ts/T000001060F2.html

http://msdn.microsoft.com/en-us/library ... 85%29.aspx