คำตอบ Apply SP3 on SQL Server 2005

  • 17 กุมภาพันธ์ 2554 20:16
     
     

    Hi all,  I know that this is a PowerShell question but it relates to SQL Serv 2005.  BTW... I did post this on the PS forum but have not received any answers there.

    I am trying to quietly (sans GUI) install SP3 via a PS script.  I am using something like this.

    &$PatchUpdatePath /quiet

    Where $PatchUpdatePath is the path to the Service Patch file and translates to an executable being called from the command line with the /quiet flag.  I know this should work because I have tried it before.

    Unfortunately after I run it in quiet mode it does not seem to have applied the service patch.

    Anyone ever attempt to do this using PS v 1.0?

    • แก้ไขโดย John Aschenbrenner 17 กุมภาพันธ์ 2554 20:17 improper grammar
    •  

ตอบทั้งหมด

  • 17 กุมภาพันธ์ 2554 21:26
     
     

    Here's an update.

    From a cmd window I ran the following. 

    SQLServer2005SP3-KB955706-x64-ENU.exe /quiet

    However, it did not install the anything and I cannot find any logs anywhere.  How might one install SP3 quietly?

     


    Thanks, -ja
  • 17 กุมภาพันธ์ 2554 22:27
     
     

    Thinking about using Windows Server Update Services (WSUS) to get this done.  Any thoughts comments on this are appreciated.

     


    Thanks, -ja
  • 18 กุมภาพันธ์ 2554 1:31
     
     

    Scratch that, my manager says it won't work cause I cannot install the CU's that way.  Also not a good idea due to lack of fine grained control, e.g. we have a tool that orchestrates the install. 

    So I am back to square one.  How do I install this quietly?  Unattended...


    Thanks, -ja
  • 22 กุมภาพันธ์ 2554 11:32
    ผู้ดูแล
     
     คำตอบ

    Hi John,

     

    To unattended install service pack 3 for SQL Server 2005, please follow these steps:

    1.       Download the Service Pack 3 (SQLServer2005SP2-KB921896-XXX-LLL.exe)from Microsoft website(http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4)

    2.       Save this file to an accessible location, for example: c:\Install

    3.       Open the command prompt, navigate to c:\Install and run the below command:

    SQLServer2005SP2-KB921896-x64-ENU.exe /allinstances /quiet /reportonly

     

    In addition, we could use the below command to display all the command line parameters available: SQLServer2005SP2-KB921896-x64-ENU.exe  /?

     

    If there are any progress, please feel free to let me know.

     

    Thanks,
    Weilin Qiao


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
    • ทำเครื่องหมายเป็นคำตอบโดย John Aschenbrenner 24 กุมภาพันธ์ 2554 1:00
    •  
  • 24 กุมภาพันธ์ 2554 1:14
    ผู้ดูแล
     
     
     

    Hi John,

     

    I just realize I type the wrong name for Service Pack 3, I am really sorry for that. Please use "SQLServer2005SP3-KB955706-XXX-LLL.exe" instead "SQLServer2005SP2-KB921896-XXX-LLL.exe".

     

    Thanks,
    Weilin Qiao


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.