tdico
Posts: 4
Joined: Mon Nov 21, 2022 10:05 pm

Conditional for Windows Server 2025

I'm using advanced installer 20.5

I have a custom action with the following condition:

(VersionNT64 = 1000 AND MsiNTProductType <> 1 AND WindowsBuild >= 20348)

Problem is it isn't executing on a 2025 server.

is VersionNT64 not set correctly for 2025 in AI 20.5? Or not set to 1000?

____

Upon further testing, its reporting back as 1100

I will modify my comparison from = 1000 to >= 1000
Catalin
Posts: 7664
Joined: Wed Jun 13, 2018 7:49 am

Re: Conditional for Windows Server 2025

Hello and welcome to our forums,

Your testing results are indeed right.

If we take a look over the following article:

How do I install resources based on the Operating System version?

we can see that the value for Windows 11 and Windows Server 2025 x64 is indeed 1100.

If you somehow checked that article already and did not find the information, please know that we have just updated this article today with the new release and therefore it wasn't stated before that (it was only stated for Windows 11, not for Windows Server 2025).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”