---
schema_version: "1"
id: 7e657fecb26211bba9bf97b725027b26b05465afb752aeacec7abbbd68e43293
title: Tableau Server 的安裝開關和屬性
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/silent_installer_flags.md
canonical_url: https://help.tableau.com/current/server/zh-tw/silent_installer_flags.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 4483edfd1d805862bf4b0fa7884f347ab6ee76e8d7f5776ae5bd025fbf8c57bc
description: Reference for install switches and properties for Tableau Server on Windows.
---
[跳至主要內容](#main-content)

# Tableau Server 的安裝開關和屬性

從命令列安裝 Windows 版 Tableau Server 時，您可以使用下列安裝程式開關。

<table class="simple-table"><colgroup><col><col><col></colgroup><tbody><tr><td>開關</td><td>描述</td><td>註解</td></tr><tr><td><code>/install</code> | <code>/repair</code> | <code>/uninstall</code> | <code>/layout</code> "<code>&lt;directory&gt;</code>"</td><td><p>執行安裝程式以安裝、修復或解除安裝 Tableau Server，或使用 <code>/layout</code>，在指定的目錄中建立安裝套件組合的完整本機副本。</p></td><td>預設為安裝、顯示 UI 及所有提示。如果未在全新安裝指定目錄，則會使用 <code>C:\Program Files\Tableau\Tableau Server</code>。如果已安裝 Tableau Server，安裝程式會使用與目前安裝相同的位置。</td></tr><tr><td><code>/passive</code></td><td><p>以最基本的 UI 且不出現提示來執行安裝程式。</p></td><td>在 <code>/passive</code> 模式中安裝時，Tableau Server 不會自動啟動。若要啟動 Tableau Server，請使用 <code>tsm start</code>。</td></tr><tr><td><code>/quiet</code> | <code>/silent</code></td><td><p>以無人參與的完全無提示模式執行安裝程式。不會顯示 UI 或提示。</p></td><td>在 <code>/silent</code> 或 <code>/quiet</code> 模式中安裝時，Tableau Server 不會自動啟動。若要啟動 Tableau Server，請使用 <code>tsm start</code>。<p class="note"><b>附註：</b>使用 <code>/silent</code> 或 <code>/quiet</code>，請勿兩者都使用。</p></td></tr><tr><td><code>/norestart</code></td><td><p>即使不需要重新啟動，也可以在不重新啟動 Windows 的情況下，執行安裝程式。</p></td><td><p class="note"><strong>附註：</strong>在某些極少數情況下，即便使用此選項，也無法禁止重新啟動。例如，在安裝其他軟體的過程中，跳過之前的系統重新啟動作業時，很可能會發生這種情況。</p></td></tr><tr><td><code>/log "&lt;drive&gt;\&lt;path&gt;\&lt;log-file&gt;.&lt;ext&gt;"</code></td><td>將資訊記錄到指定的檔案和路徑。<p></p><p><strong>附註：</strong>從版本 2021.2.0 開始，使用 <code>/log</code> 選項時的行為已變更。有關詳細資訊，請參閱 <a href="https://help.tableau.com/current/server/zh-tw/whatsnew_server.htm" class="xref">Tableau Server 版本說明</a></p>。<p></p></td><td><p>將此開關與路徑和記錄檔名稱一起使用會讓記錄檔在安裝完成後可用。</p><p>若此開關與記錄檔名稱一起使用，但無路徑，記錄檔將寫入暫时位置，並在安裝結束時刪除。</p><p>若使用此開關，但未指定記錄檔名稱，則會忽略該開關，並且檔案會寫入 <code>%TEMP%</code>。</p><p>若未使用此開關，記錄檔會寫入 <code>%TEMP%</code>。</p></td></tr></tbody></table>

<table class="simple-table"><colgroup><col style="width: 30%;"><col><col></colgroup><tbody><tr><td>屬性(區分大小寫)</td><td>描述</td><td>註解</td></tr><tr><td><code>ACCEPTEULA=1|0</code></td><td>接受使用者授權合約 (EULA)。初始和附加節點上的無訊息、無提示和被動安裝需要執行此動作。1 = true，接受 EULA，0 = false，不接受 EULA。</td><td><p>如果使用 <code>/passive</code>、<code>/silent</code> 或 <code>/quiet</code> 時未包含此命令，則無法以無提示模式執行安裝程式。</p><p>如果包含但設定為 0，安裝程式便會失敗。</p></td></tr><tr><td><code>ACTIVATIONSERVICE="1"|"0"</code></td><td>使用執行授權 (ATR) 服務啟用 <span class="mc-variable Variables.TabsProductServer variable">Tableau Server</span>。"1" = 使用伺服器 ATR。“0” = 不使用伺服器 ATR。<p class="note"><strong>重要資訊：</strong>從 2025.1.0 版本開始，如果不想使用 ATR 授權服務，則必須使用命令行安裝 Server，並使用此選項指定您想要使用舊版（非 ATR）服務。例如：</p><pre xml:space="preserve">TableauServer-64bit-&lt;version&gt;.exe /silent ACCEPTEULA=1 ACTIVATIONSERVICE="0"</pre></td><td><p>此選項僅適用於新安裝，不適用於升級。若出現以下情況，請選取此選項：</p><ul><li>計劃線上啟用 Tableau Server</li><li>計劃在雲端中安裝 Tableau Server</li><li>計劃在虛擬機器上或其他非永久環境中安裝 Tableau Server</li></ul><p>若出現以下情況，請勿使用此選項：</p><ul><li>計劃離線啟用 Tableau Server</li><li>計劃在氣隙隔離環境中安裝 Tableau Server</li></ul><p>有關詳情，請參閱<a href="https://help.tableau.com/current/server/zh-tw/atr_service.htm" target="_blank" class="xref">使用執行授權 (ATR) 服務啟用 Tableau Server</a>。</p></td></tr><tr><td><code>BOOTSTRAPFILE="&lt;path\to\bootstrap\file&gt;"</code></td><td>新增節點至叢集時需要執行此動作。啟動程式檔案包含附加節點使用的設定。</td><td>範例：&nbsp;<code>&lt;Setup file&gt; /silent ACCEPTEULA=1 BOOTSTRAPFILE="C:\Users\tableauadmin\Downloads\bootstrap.json" </code></td></tr><tr><td><code>CONTROLLERPORT=</code></td><td>可選。應執行 Tableau 服務管理員 (TSM) 控制器的連接埠。</td><td>如果未包含，則預設連接埠號為 8850。</td></tr><tr><td><code>COORDINATIONSERVICECLIENTPORT=</code></td><td>可選。應執行 Tableau 服務管理員 (TSM) 協調服務用戶端的連接埠。 </td><td>如果未包含，則預設為動態映射的連接埠。有關詳情，請參閱 <a href="https://help.tableau.com/current/server/zh-tw/ports.htm" class="xref">Tableau 服務管理員埠</a>。</td></tr><tr><td><code>COORDINATIONSERVICEPEERPORT=</code></td><td>可選。應執行 Tableau 服務管理員 (TSM) 協調服務同儕節點的連接埠。 </td><td>如果未包含，則預設為動態映射的連接埠。有關詳情，請參閱 <a href="https://help.tableau.com/current/server/zh-tw/ports.htm" class="xref">Tableau 服務管理員埠</a>。</td></tr><tr><td><code>COORDINATIONSERVICELEADERPORT=</code></td><td>可選。應執行 Tableau 服務管理員 (TSM) 協調服務前端項目的連接埠。</td><td>如果未包含，則預設為動態映射的連接埠。有關詳情，請參閱 <a href="https://help.tableau.com/current/server/zh-tw/ports.htm" class="xref">Tableau 服務管理員埠</a>。</td></tr><tr><td><code>DATADIR="&lt;path\to\data\directory&gt;"</code></td><td>可選。Tableau Server 軟體設定和資料的儲存位置。如果未提供資料目錄路徑，且 Tableau Server 正在安裝到預設位置（未指定 INSTALLDIR），則其所使用的預設資料目錄為：<code>C:\ProgramData\Tableau\Tableau Server</code>。如果未提供資料目錄路徑，並指定 INSTALLDIR，則 DATADIR 也會設定為 INSTALLDIR 位置。</td><td>範例：<code>DATADIR="D:\TableauServerData"</code></td></tr><tr><td><code>EMBEDDEDCREDENTIAL=1|0</code></td><td><p>新增節點至叢集，且啟動程序檔案包含 TSM 電腦上管理員的內嵌認證時，會需要。</p><p>1=true，0=false。預設值為 0。</p></td><td>必須與 <code>/silent</code> 或 <code>/quiet</code> 及與 <code>BOOTSTRAPFILE</code> 一起使用<p>範例：&nbsp;<code>&lt;Setup file&gt; /silent ACCEPTEULA=1 BOOTSTRAPFILE="C:\Users\tableauadmin\Downloads\bootstrap.json" EMBEDDEDCREDENTIAL=1</code></p></td></tr><tr><td><code>INSTALLDIR="&lt;path\to\installation\directory&gt;"</code></td><td>安裝到指定的非預設安裝位置。</td><td><p>指定用於安裝伺服器的位置。如果未使用，則 Tableau Server 將安裝到 <code>C:\Program Files\Tableau\Tableau Server
</code></p><p>範例：<code>&lt;Setup file&gt; /silent INSTALLDIR="D:\Tableau\Tableau Server"
					</code></p></td></tr><tr><td><code>LICENSESERVICEVENDORDAEMONPORT=</code></td><td>可選。應執行授權服務廠商精靈的連接埠。這用於多節點安裝，藉此進行節點之間與授權相關的通訊。</td><td>如果未包含，則預設為動態映射的連接埠。有關詳情，請參閱 <a href="https://help.tableau.com/current/server/zh-tw/ports.htm" class="xref">Tableau 服務管理員埠</a>。</td></tr><tr><td><code>SKIPPYTHONINSTALL=1|0</code><p>版本 2021.3.0 中的新增功能</p></td><td>可選。若設定為 0（預設值），安裝程式將安裝包含的 Python 套件。若設定為 1，則指定安裝程式不應將 Python 套件安裝為 Tableau Server 的一部分。<p><strong>附註：</strong>Python 將在 Tableau Server 的未來版本中使用，以支援進階分析功能。若選擇跳過安裝 Python，當這些功能可用時，Tableau Server 使用者將無法存取這些進階分析功能。</p></td><td>若未包含，則會預設安裝 Python 作為 Tableau Server 的一部分。</td></tr></tbody></table>