Hi Agron,
Please note that your package can be installed on a machine which uses an Itanium processor only if it uses the "
64-bit package for Intel64 (Itanium) processor" package type in the
Install Parameters page. Therefore, you can use any other option in order to prevent installation on a machine which uses an Itanium processor.
The Windows version can be detected by using this registry value:
Code: Select all
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\CurrentVersion
This value can be retrieved by using a
search. The property of this search can then be used as a
custom launch condition in the "Prerequisites" page. For example, if the property of your search is WINDOWS_VER, the custom launch condition can look like this:
Code: Select all
WINDOWS_VER <= "6.0" "This package cannot be installed on Windows 7 or Windows Home Server".
Windows Home Server has the version 6.0.1800, therefore it will be covered by the above launch condition.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging