How do I obtain Windows Installer variables

Got a problem you cannot solve? Try here.
Post Reply
[email protected]
Posts: 10
Joined: Thu Aug 19, 2010 4:47 pm

How do I obtain Windows Installer variables

Post by [email protected] »

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
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: How do I obtain Windows Installer variables

Post 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
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply