Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862

    SUF thinks 2003/64 is actually XP?????

    SUF's functions are not returning valid results for a 2003 64bit server.


    Using this code:
    Code:
    tinfo = System.GetOSVersionInfo();
    cinfo = "";
    
    cinfo = tinfo.MajorVersion .. "\r\n" ..
            tinfo.MinorVersion .. "\r\n" ..
            System.GetOSName();
            
    if System.Is64BitOS() then
      cinfo = "64\r\n"..cinfo;
    else
      cinfo = "32\r\n"..cinfo;
    end
    
    Dialog.Message("test",cinfo);
    Application.Exit(0);
    Produced the attached dialog.
    In a nut shell; it thinks it's XP, not 2003
    Major issue for me.

    Anyone have a reliable way to detect the os name/version?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  2. #2
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    for starters, have a look into returning:

    tinfo.ProductType ( check the syntax )

    1= client, 2= domain controller, 3 = Server

    if is a 64bit os then....
    if returns 1 is XP
    if returns 3 is 2K3

    consult the help for all type's of returns and table values

    hth

  3. #3
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by Eagle View Post
    for starters, have a look into returning:

    tinfo.ProductType ( check the syntax ) if returns 3 is 2K3

    I mean no offense, I appreciate your time -- but how do you get from "is a server" to "it's windows 2003 server"?????

    The help just says 3 = server NOT 3 = winodws 2003 if it's a 64 bit os. That's sortof a leap and a jump...

    The help also doesn't say to ignore hte value from GetOsName() (which should return "Windows Server 2003") if ti's a 64 bit os....

    What happens when ms releases a new server level os that is not 2003 and is a 64 bit?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  4. #4
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    Logged. REF: 14993

    Adam Kapilik

Similar Threads

  1. SUF 7.0 Installing for Windows Mobile 5 PDA
    By SGW in forum Setup Factory 7.0
    Replies: 1
    Last Post: 07-31-2006, 10:17 AM
  2. SUF and WINRAR
    By John Fligg in forum Setup Factory 7.0
    Replies: 2
    Last Post: 09-23-2004, 08:31 AM
  3. SUF 6.0 Trial
    By Hans in forum Setup Factory 5.0
    Replies: 2
    Last Post: 11-21-2001, 12:32 PM
  4. Executing multiple copies of SUF
    By JAT in forum Setup Factory 5.0
    Replies: 1
    Last Post: 08-04-2000, 09:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts