How to detect Windows Server 2008

Hi. Many of you have asked if InstallAware supports detecting the newly released Windows Server 2008. It’s very easy by using the code below:

Set Variable SERVER2008 to FALSE
Get System Setting Service Pack 1 into SP1
Get System Setting Windows Vista into VISTA
Get System Setting Windows with Server Features into SERVER
if Variable VISTA Equals TRUE
     if Variable SP1 Equals TRUE
            if Variable SERVER Equals TRUE
                  Set Variable SERVER2008 to TRUE
           end
    end
end

After this code runs, if the variable SERVER2008 is TRUE, then OS hosting your installer is Windows Server 2008. You can add this piece of code somewhere inside your main setup script, or inject it as a requirement inside the “Check Application Requirements” code folding region to prevent your installation from running at all if the target OS is not Windows Server 2008.

You can also check for Windows Vista with Service Pack 1 using the same script but by removing the “if Variable SERVER Equals TRUE” evaluation.

You can download the script from here.

Thank you,

Panagiotis Kefalidis
Software Design Team Lead
InstallAware Software Corporation

20 Replies to “How to detect Windows Server 2008”

  1. Thanks for your write-up. I would love to comment that the very first thing you will need to perform is determine whether you really need fixing credit. To do that you will need to get your hands on a copy of your credit score. That should never be difficult, because government necessitates that you are allowed to have one cost-free copy of your real credit report every year. You just have to request that from the right people. You can either look into the website owned by the Federal Trade Commission as well as contact one of the major credit agencies right away.

  2. Heard about this site from my friend. He pointed me here and told me I’d find what I need. He was right! I got all the questions I had, answered. Didn’t even take long to find it. Love the fact that you made it so easy for people like me. More power

  3. I like what you guys are up too. Such intelligent work and reporting! Carry on the superb works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my web site :).

  4. It’s always so special plus packed with a lot of fun personally individually along with the company colleagues to search your site at the very least thrice in the 1 week to find out the new direction you have got.

  5. Hello, I heard on another forum that excess rockmelon could be bad to loosing weight because of the antioxidants found in them. Do you know anything about this?

  6. We are commenting for you to let you know such a terrific experience my personal child relished reading through your current web page. The girl recognized lots of items, with the introduction associated with what it can be similar to with an wonderful supporting model to have the remainder with out hassle understand a number of intense concerns.

Leave a Reply to ati2dvagdll errors Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.