Results 1 to 5 of 5

Thread: .net framework 2 would not install before sql2005 express

  1. #1

    Default .net framework 2 would not install before sql2005 express

    Hi,

    somehow I can not get my install script working so that
    ..net frame 2 is installed before sql2005 express.

    I am using this piece of script:

    Set Variable %DOTNET2% to FUNCTION:Get System Info(.NET Status) for
    "$NET_FRAMEWORK_20$"
    If %DOTNET2% Equals "0" Then
    #include script "rt_dotnetframework2_x86.sbi" [Custom Configuration]
    Display Message Box "Error: %_SB_ERRORCODE%" -- ".NET FRAMEWORK 2"
    End

    Display Message Box "Installing Microsoft SQL server 2005 Express...\n\..."
    -- "Installing Microsoft SQL Server 2005 Express..."
    #include script "rt_sql2005expr.sbi" [Custom Configuration]

    The errorcode returned from the .net2 install is 0.

    Is there something wrong with my script code?

    Regards,
    P.

  2. #2

    Default Re: .net framework 2 would not install before sql2005 express

    Patriek,

    > The errorcode returned from the .net2 install is 0.
    >
    > Is there something wrong with my script code?

    I would not check %_SB_ERRORCODE% here. This gives the return code for a
    function, but you would like to get the results from an include script
    (a collection of functions).

    I would suggest to check the %DOTNET2_RETURNCODE% and %DOTNET2_INSTALLIT%
    variable values.

    Return Codes : %DOTNET2_RETURNCODE%
    : 0 = success
    : 3010 = success and reboot required; any other value =
    failure
    : -1 = unknown exit code
    : X = any other value = failure
    :
    : %DOTNET2_INSTALLIT%
    : 1 = install executed
    : -1 = not installed
    : -2 = user cancelled
    : -1000 = operating system not supported

    Hope this helps.

    Friedrich

  3. #3

    Default Re: .net framework 2 would not install before sql2005 express

    > I would suggest to check the %DOTNET2_RETURNCODE% and %DOTNET2_INSTALLIT%
    > variable values.
    >
    > Friedrich

    Hi Friedrich,

    I found the source of my prob: the machine is a windows XP OS with
    servicepack 3 (three) installed. However in the include script it does say
    that is requires SP2!

    Can I change this to be 2 or higher or does the install script goes haywire
    or messes things up?

    Regards,
    P.

  4. #4

    Default Re: .net framework 2 would not install before sql2005 express

    I did change that piece of code and it worked!

    regards,
    P.

  5. #5

    Default Re: .net framework 2 would not install before sql2005 express

    Hi Patriek,

    > I found the source of my prob: the machine is a windows XP OS with
    > servicepack 3 (three) installed. However in the include script it does say
    > that is requires SP2!

    Yes, and that is correct <g>

    The Microsoft .NET Framework does not officially support XP SP3.

    "Supported Operating Systems: Windows 2000 Service Pack 4; Windows Server
    2003; Windows XP Service Pack 2"

    http://www.lindersoft.com/forums/showthread.php?t=22348

    Friedrich

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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