none
How to install a replication feature via command while OS is core edition and sql server 2016 is there RRS feed

  • Question

  • How to install a replication feature via command while OS is core edition and sql server 2016 is there

    Thanks, /\J/\Y GUPT/\ SQL DBA ..India..

    Wednesday, January 22, 2020 2:20 PM

Answers

  • Hello,

    Go to installer folder and use below command in CMD:

    setup.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION="install" /FEATURES=Replication /INSTANCENAME=MSSQLSERVER

    More detail , you can refer to Install SQL Server from the Command Prompt

    And you can install replication feature through installation wizard:Add Features to an Instance of SQL Server (Setup)

    Hope it will help. Any further question, please let's us know.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by guptaajay1985 Thursday, January 23, 2020 10:31 AM
    Thursday, January 23, 2020 6:51 AM

All replies

  • hi guptaajay,

    from cmd window, go to the folder where the installer is and then you can use this command line:

    setup.exe /qb INSTANCENAME=MSSQLSERVER (or the named instance) ADDLOCAL=SQL_Replication

    hope this helps.

    Wednesday, January 22, 2020 3:59 PM
  • Hello,

    Go to installer folder and use below command in CMD:

    setup.exe /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION="install" /FEATURES=Replication /INSTANCENAME=MSSQLSERVER

    More detail , you can refer to Install SQL Server from the Command Prompt

    And you can install replication feature through installation wizard:Add Features to an Instance of SQL Server (Setup)

    Hope it will help. Any further question, please let's us know.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by guptaajay1985 Thursday, January 23, 2020 10:31 AM
    Thursday, January 23, 2020 6:51 AM