diff --git a/mdop/appv-v5/how-to-deploy-the-app-v-51-server-using-a-script.md b/mdop/appv-v5/how-to-deploy-the-app-v-51-server-using-a-script.md index e3c13b3c79..5a39bf03ab 100644 --- a/mdop/appv-v5/how-to-deploy-the-app-v-51-server-using-a-script.md +++ b/mdop/appv-v5/how-to-deploy-the-app-v-51-server-using-a-script.md @@ -10,787 +10,371 @@ ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w10 -ms.date: 06/16/2016 +ms.date: 03/20/2020 --- - # How to Deploy the App-V 5.1 Server Using a Script - In order to complete the **appv\_server\_setup.exe** Server setup successfully using the command line, you must specify and combine multiple parameters. -**To Install the App-V 5.1 server using a script** - -- Use the following tables for more information about installing the App-V 5.1 server using the command line. - - **Note** - The information in the following tables can also be accessed using the command line by typing the following command: **appv\_server\_setup.exe /?**. - - - -~~~ -**Common parameters and Examples** - -
To Install the Management server and Management database on a local machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use the following parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/MANAGEMENT_SERVER -/MANAGEMENT_ADMINACCOUNT=”Domain\AdminGroup” -/MANAGEMENT_WEBSITE_NAME=”Microsoft AppV Management Service” -/MANAGEMENT_WEBSITE_PORT=”8080” -/DB_PREDEPLOY_MANAGEMENT -/MANAGEMENT_DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/MANAGEMENT_DB_NAME=”AppVManagement” |
-
To Install the Management server using an existing Management database on a local machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/MANAGEMENT_SERVER -/MANAGEMENT_ADMINACCOUNT=”Domain\AdminGroup” -/MANAGEMENT_WEBSITE_NAME=”Microsoft AppV Management Service” -/MANAGEMENT_WEBSITE_PORT=”8080” -/EXISTING_MANAGEMENT_DB_SQL_SERVER_USE_LOCAL -/EXISTING_MANAGEMENT_DB_CUSTOM_SQLINSTANCE =”SqlInstanceName” -/EXISTING_MANAGEMENT_DB_NAME =”AppVManagement” |
-
To install the Management server using an existing Management database on a remote machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/MANAGEMENT_SERVER -/MANAGEMENT_ADMINACCOUNT=”Domain\AdminGroup” -/MANAGEMENT_WEBSITE_NAME=”Microsoft AppV Management Service” -/MANAGEMENT_WEBSITE_PORT=”8080” -/EXISTING_MANAGEMENT_DB_REMOTE_SQL_SERVER_NAME=”SqlServermachine.domainName” -/EXISTING_MANAGEMENT_DB_CUSTOM_SQLINSTANCE =”SqlInstanceName” -/EXISTING_MANAGEMENT_DB_NAME =”AppVManagement” |
-
To Install the Management database and the Management Server on the same computer. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/DB_PREDEPLOY_MANAGEMENT -/MANAGEMENT_DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/MANAGEMENT_DB_NAME=”AppVManagement” -/MANAGEMENT_SERVER_MACHINE_USE_LOCAL -/MANAGEMENT_SERVER_INSTALL_ADMIN_ACCOUNT=”Domain\InstallAdminAccount” |
-
To install the Management database on a different computer than the Management server. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/DB_PREDEPLOY_MANAGEMENT -/MANAGEMENT_DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/MANAGEMENT_DB_NAME=”AppVManagement” -/MANAGEMENT_REMOTE_SERVER_MACHINE_ACCOUNT=”Domain\MachineAccount” -/MANAGEMENT_SERVER_INSTALL_ADMIN_ACCOUNT=”Domain\InstallAdminAccount” |
-
To Install the publishing server. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/PUBLISHING_SERVER -/PUBLISHING_MGT_SERVER=”http://ManagementServerName:ManagementPort” -/PUBLISHING_WEBSITE_NAME=”Microsoft AppV Publishing Service” -/PUBLISHING_WEBSITE_PORT=”8081” |
-
To Install the Reporting server and Reporting database on a local machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -
|
-
To Install the Reporting server and using an existing Reporting database on a local machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/REPORTING_SERVER -/REPORTING_WEBSITE_NAME=”Microsoft AppV Reporting Service” -/REPORTING_WEBSITE_PORT=”8082” -/EXISTING_REPORTING_DB_SQL_SERVER_USE_LOCAL -/EXISTING_REPORTING _DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/EXITING_REPORTING_DB_NAME=”AppVReporting” |
-
To Install the Reporting server using an existing Reporting database on a remote machine. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/REPORTING_SERVER -/REPORTING_WEBSITE_NAME=”Microsoft AppV Reporting Service” -/REPORTING_WEBSITE_PORT=”8082” -/EXISTING_REPORTING_DB_REMOTE_SQL_SERVER_NAME=”SqlServerMachine.DomainName” -/EXISTING_REPORTING _DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/EXITING_REPORTING_DB_NAME=”AppVReporting” |
-
To install the Reporting database on the same computer as the Reporting server. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/DB_PREDEPLOY_REPORTING -/REPORTING_DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/REPORTING_DB_NAME=”AppVReporting” -/REPORTING_SERVER_MACHINE_USE_LOCAL -/REPORTING_SERVER_INSTALL_ADMIN_ACCOUNT=”Domain\InstallAdminAccount” |
-
To install the Reporting database on a different computer than the Reporting server. |
-To use the default instance of Microsoft SQL Server, use the following parameters: -
To use a custom instance of Microsoft SQL Server, use these parameters: -
Using a custom instance of Microsoft SQL Server example: -/appv_server_setup.exe /QUIET -/DB_PREDEPLOY_REPORTING -/REPORTING_DB_CUSTOM_SQLINSTANCE=”SqlInstanceName” -/REPORTING_DB_NAME=”AppVReporting” -/REPORTING_REMOTE_SERVER_MACHINE_ACCOUNT=”Domain\MachineAccount” -/REPORTING_SERVER_INSTALL_ADMIN_ACCOUNT=”Domain\InstallAdminAccount” |
-
Parameter | -Information | -
---|---|
/QUIET |
-Specifies silent install. |
-
/UNINSTALL |
-Specifies an uninstall. |
-
/LAYOUT |
-Specifies layout action. This extracts the MSIs and script files to a folder without actually installing the product. No value is expected. |
-
/LAYOUTDIR |
-Specifies the layout directory. Takes a string. For example, /LAYOUTDIR=”C:\Application Virtualization Server” |
-
/INSTALLDIR |
-Specifies the installation directory. Takes a string. E.g. /INSTALLDIR=”C:\Program Files\Application Virtualization\Server” |
-
/MUOPTIN |
-Enables Microsoft Update. No value is expected |
-
/ACCEPTEULA |
-Accepts the license agreement. This is required for an unattended installation. Example usage: /ACCEPTEULA or /ACCEPTEULA=1. |
-
Parameter | -Information | -
---|---|
/MANAGEMENT_SERVER |
-Specifies that the management server will be installed. No value is expected |
-
/MANAGEMENT_ADMINACCOUNT |
-Specifies the account that will be allowed to Administrator access to the management server This account can be an individual user account or a group. Example usage: /MANAGEMENT_ADMINACCOUNT=”mydomain\admin”. If /MANAGEMENT_SERVER is not specified, this will be ignored. Specifies the account that will be allowed to Administrator access to the management server. This can be a user account or a group. For example, /MANAGEMENT_ADMINACCOUNT="mydomain\admin". |
-
/MANAGEMENT_WEBSITE_NAME |
-Specifies name of the website that will be created for the management service. For example, /MANAGEMENT_WEBSITE_NAME=”Microsoft App-V Management Service” |
-
MANAGEMENT_WEBSITE_PORT |
-Specifies the port number that will be used by the management service will use. For example, /MANAGEMENT_WEBSITE_PORT=82. |
-
Parameter | -Information | -
---|---|
/DB_PREDEPLOY_MANAGEMENT |
-Specifies that the management database will be installed. You must have sufficient database permissions to complete this installation. No value is expected |
-
/MANAGEMENT_DB_SQLINSTANCE_USE_DEFAULT |
-Indicates that the default SQL instance should be used. No value is expected. |
-
/MANAGEMENT_DB_ CUSTOM_SQLINSTANCE |
-Specifies the name of the custom SQL instance that should be used to create a new database. Example usage: /MANAGEMENT_DB_ CUSTOM_SQLINSTANCE=”MYSQLSERVER”. If /DB_PREDEPLOY_MANAGEMENT is not specified, this will be ignored. |
-
/MANAGEMENT_DB_NAME |
-Specifies the name of the new management database that should be created. Example usage: /MANAGEMENT_DB_NAME=”AppVMgmtDB”. If /DB_PREDEPLOY_MANAGEMENT is not specified, this will be ignored. |
-
/MANAGEMENT_SERVER_MACHINE_USE_LOCAL |
-Indicates if the management server that will be accessing the database is installed on the local server. Switch parameter so no value is expected. |
-
/MANAGEMENT_REMOTE_SERVER_MACHINE_ACCOUNT |
-Specifies the machine account of the remote machine that the management server will be installed on. Example usage: /MANAGEMENT_REMOTE_SERVER_MACHINE_ACCOUNT=”domain\computername” |
-
/MANAGEMENT_SERVER_INSTALL_ADMIN_ACCOUNT |
-Indicates the Administrator account that will be used to install the management server. Example usage: /MANAGEMENT_SERVER_INSTALL_ADMIN_ACCOUNT =”domain\alias” |
-
Parameter | -Information | -
---|---|
/PUBLISHING_SERVER |
-Specifies that the Publishing Server will be installed. No value is expected |
-
/PUBLISHING_MGT_SERVER |
-Specifies the URL to Management Service the Publishing server will connect to. Example usage: http://<management server name>:<Management server port number>. If /PUBLISHING_SERVER is not used, this parameter will be ignored |
-
/PUBLISHING_WEBSITE_NAME |
-Specifies name of the website that will be created for the publishing service. For example, /PUBLISHING_WEBSITE_NAME=”Microsoft App-V Publishing Service” |
-
/PUBLISHING_WEBSITE_PORT |
-Specifies the port number used by the publishing service. For example, /PUBLISHING_WEBSITE_PORT=83 |
-
Parameter | -Information | -
---|---|
/REPORTING_SERVER |
-Specifies that the Reporting Server will be installed. No value is expected |
-
/REPORTING_WEBSITE_NAME |
-Specifies name of the website that will be created for the Reporting Service. E.g. /REPORTING_WEBSITE_NAME="Microsoft App-V ReportingService" |
-
/REPORTING_WEBSITE_PORT |
-Specifies the port number that the Reporting Service will use. E.g. /REPORTING_WEBSITE_PORT=82 |
-
Parameter | -Information | -
---|---|
/EXISTING_REPORTING_DB_SQL_SERVER_USE_LOCAL |
-Indicates that the Microsoft SQL Server is installed on the local server. Switch parameter so no value is expected. |
-
/EXISTING_REPORTING_DB_REMOTE_SQL_SERVER_NAME |
-Specifies the name of the remote computer that SQL Server is installed on. Takes a string. E.g. /EXISTING_REPORTING_DB_ REMOTE_SQL_SERVER_NAME="mycomputer1" |
-
/EXISTING_ REPORTING _DB_SQLINSTANCE_USE_DEFAULT |
-Indicates that the default SQL instance is to be used. Switch parameter so no value is expected. |
-
/EXISTING_ REPORTING_DB_CUSTOM_SQLINSTANCE |
-Specifies the name of the custom SQL instance that should be used. Takes a string. E.g. /EXISTING_REPORTING_DB_ CUSTOM_SQLINSTANCE="MYSQLSERVER" |
-
/EXISTING_ REPORTING _DB_NAME |
-Specifies the name of the existing Reporting database that should be used. Takes a string. E.g. /EXISTING_REPORTING_DB_NAME="AppVReporting" |
-
Parameter | -Information | -
---|---|
/DB_PREDEPLOY_REPORTING |
-Specifies that the Reporting Database will be installed. DBA permissions are required for this installation. No value is expected |
-
/REPORTING_DB_SQLINSTANCE_USE_DEFAULT |
-Specifies the name of the custom SQL instance that should be used. Takes a string. E.g. /REPORTING_DB_ CUSTOM_SQLINSTANCE="MYSQLSERVER" |
-
/REPORTING_DB_NAME |
-Specifies the name of the new Reporting database that should be created. Takes a string. E.g. /REPORTING_DB_NAME="AppVMgmtDB" |
-
/REPORTING_SERVER_MACHINE_USE_LOCAL |
-Indicates that the Reporting server that will be accessing the database is installed on the local server. Switch parameter so no value is expected. |
-
/REPORTING_REMOTE_SERVER_MACHINE_ACCOUNT |
-Specifies the machine account of the remote machine that the Reporting server will be installed on. Takes a string. E.g. /REPORTING_REMOTE_SERVER_MACHINE_ACCOUNT = "domain\computername" |
-
/REPORTING_SERVER_INSTALL_ADMIN_ACCOUNT |
-Indicates the Administrator account that will be used to install the App-V Reporting Server. Takes a string. E.g. /REPORTING_SERVER_INSTALL_ADMIN_ACCOUNT = "domain\alias" |
-
Parameter | -Information | -
---|---|
/EXISTING_MANAGEMENT_DB_SQL_SERVER_USE_LOCAL |
-Indicates that the SQL Server is installed on the local server. Switch parameter so no value is expected.If /DB_PREDEPLOY_MANAGEMENT is specified, this will be ignored. |
-
/EXISTING_MANAGEMENT_DB_REMOTE_SQL_SERVER_NAME |
-Specifies the name of the remote computer that SQL Server is installed on. Takes a string. E.g. /EXISTING_MANAGEMENT_DB_ REMOTE_SQL_SERVER_NAME="mycomputer1" |
-
/EXISTING_ MANAGEMENT_DB_SQLINSTANCE_USE_DEFAULT |
-Indicates that the default SQL instance is to be used. Switch parameter so no value is expected. If /DB_PREDEPLOY_MANAGEMENT is specified, this will be ignored. |
-
/EXISTING_MANAGEMENT_DB_ CUSTOM_SQLINSTANCE |
-Specifies the name of the custom SQL instance that will be used. Example usage /EXISTING_MANAGEMENT_DB_ CUSTOM_SQLINSTANCE=”AppVManagement”. If /DB_PREDEPLOY_MANAGEMENT is specified, this will be ignored. |
-
/EXISTING_MANAGEMENT_DB_NAME |
-Specifies the name of the existing management database that should be used. Example usage: /EXISTING_MANAGEMENT_DB_NAME=”AppVMgmtDB”. If /DB_PREDEPLOY_MANAGEMENT is specified, this will be ignored. - -Got a suggestion for App-V? Add or vote on suggestions [here](http://appv.uservoice.com/forums/280448-microsoft-application-virtualization). Got an App-V issue? Use the [App-V TechNet Forum](https://social.technet.microsoft.com/Forums/home?forum=mdopappv). |
-