Anthrax
Posts: 19
Joined: Tue Jul 31, 2007 1:51 pm

Best way to determine the installed windows version

Hi @ all,

i have a new problem.
for my Installation i need to find out the installed Windows Version. For this i use the Properties VersionNT, MsiNTProdType, MsiNTSuitePersonal and MsiSuiteEnterprise. But if i start Windows Vista Home Basic or Home Premium, the Properties have the same value.
Is there a way to find a difference between both Operating Systems?

Kind regards

Anthrax
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Best way to determine the installed windows version

Hi Anthrax,

Unfortunately Windows Installer does not have a predefined property for this. However, you can use a search to find this registry value:

Code: Select all

HKLM\SOFTWARE\Microsoft\Windows NT\Current Version\ProductName
You can then compare the property of this search with the possible values and find the information you need.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”