/build/static/layout/Breadcrumb_cap_w.png

Windows Server 2008

Hello,

I have written a custom action that needs to be running only on Windows 2008 Server machine OR Windows 2008 Server R2 machine. I need the conditions for the custom actions so that it runs only on these 2 OS.

Any suggestions on the same.

Regards,

0 Comments   [ + ] Show comments

Answers (4)

Posted by: spartacus 12 years ago
Black Belt
0
You need to be conditioning your custom actions based on a combination of the VersionNT, WindowsBuild (and possibly) ServicePackLevel properties which the Windows Installer sets automatically at install time. These are documented here and here


Spartacus
Posted by: pjgeutjens 12 years ago
Red Belt
0
your condition will have to combine checks on VersionNT, MsiNTProductType and possibly ServicePackLevel properties.
All of these can be found on MSDN. Also see here for some examples.

EDIT: ... soo close Graham... [:(] But at least we seem to be well in sync [:D]
Posted by: anonymous_9363 12 years ago
Red Belt
0
So....either you two retain an encyclopaedic knowledge of MSDN article numbers or there exists some kind of Internet tool that enables people to find out things like this. Mind you, LOL, I think, if such a thing existed, we would have heard about it by now, right?
Posted by: manitha21 12 years ago
Senior Yellow Belt
0
Thanks a lot. I actually checked the windows Property but they looked same for windows Vista and 2008.

I will try by using this condition : VersionNT = 600 AND MsiNTProductType = 3

:)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ