使用案例
使用 AUSST 指令進行增量同步、產品篩選器和清除操作。
在配置 Adobe Update Server Setup Tool (AUSST) 以針對特定產品、版本或群組進行選擇性同步時,請使用這些常見參考。AUSST 會同步目前的 Adobe 桌面應用程式以及各應用程式的最新前一個主要版本,Adobe Acrobat 除外,僅會下載目前版本。對於不再銷售的應用程式,AUSST 不會同步更新。尋找可供下載的應用程式的連結。
在使用這些指令之前,您必須已執行一次性--fresh同步以設定您的內部更新伺服器。
初始設定後,使用增量同步僅從 Adobe Update Server 下載新的應用程式版本和更新:
Windows:AdobeUpdateServerSetupTool.exe --root="C:\inetpub\wwwroot\updates" --incremental
macOS:AdobeUpdateServerSetupTool --root="/Library/WebServer/Documents/ausst/" --incremental
以下指令包含 SAP 代碼(例如,產品 Photoshop 的 SAP 代碼為PHSP)。如果需要,請取得 SAP 碼完整清單。
|
|
命令 |
|
同步所有產品和更新 舊版產品除外。 |
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --incremental |
|
同步特定產品的最新更新。範例:Photoshop |
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --incremental --filterProducts=<sap 碼>
AdobeUpdateServerSetupTool.exe --root="C:\inetpub\wwwroot\updates" --incremental --filterProducts="PHSP" |
|
僅為特定群組同步產品的最新版本。 |
AdobeUpdateServerSetupTool.exe --root="C:\inetpub\wwwroot\updates" --incremental --filterProducts="g1(PHSP)" |
|
僅為特定群組同步產品的特定版本。為此,請指定 SAP 代碼、主版本和次版本。 範例:群組名稱:g1。 Photoshop v18.1.3。 PHSP#18.0#18.1.3 |
AdobeUpdateServerSetupTool.exe --root="C:\inetpub\wwwroot\updates" --incremental --filterProducts="g1(PHSP#18.0#18.1.3)" |
|
針對 g1 群組產生客戶端設定檔。 使用適用的產品版本,而非指示性的 g1 版本。 |
AdobeUpdateServerSetupTool.exe --root="<root folder>" --genclientconf="<output folder>" --url="<URL Path to root folder>" --groupName=g1 |
|
為不同群組同步不同版本。範例:群組 g1 的 PHSP 18.3.1。群組 g2 最新版本的 Dreamweaver。
使用適用的產品版本,而非指示性的 g1 版本。 |
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --genclientconf="<輸出檔案夾>" --url="<根檔案夾的 URL 路徑>" -- groupName=g1
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --genclientconf="<輸出檔案夾>" --url="<根檔案夾的 URL 路徑>" -- groupName=g2
AdobeUpdateServerSetupTool.exe --root="C:\inetpub\wwwroot\updates" --incremental --filterProducts="g1(PHSP#18.0#18.1.3)|g2(DRWV)" |
|
同步先前建立的群組的所有產品。 如果您已定義篩選器/群組,使用增量選項時會保留這些篩選器/群組。 |
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --incremental |
|
針對不屬於任何群組進行所有產品和更新的同步。 移除所有篩選器/群組並同步所有最新的應用程式和產品。 |
AdobeUpdateServerSetupTool.exe --root="<root folder>" --incremental --filterProducts="()" |
|
讓所有群組取得產品。 檔案 groups.xml 會在 filterFilePath 位置建立。 |
AdobeUpdateServerSetupTool.exe --root="<root folder>" --gengroupconfig --filterFilePath="<output folder>\groups.xml" |
|
刪除不需要的過時產品。 |
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --cleanup
若要避免此提示,請使用「靜音」選項: AdobeUpdateServerSetupTool.exe --root="<root folder>" --cleanup --靜音
|
清理操作的使用案例和命令
根據使用增量選項套用的最後一個篩選器,從您的 AUSST 伺服器移除過時的產品。--cleanup 選項必須在增量之後以個別指令執行
AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --cleanup
若要在清理操作後保留某些產品,請在增量選項中將這些產品指定為 filterProducts 的一部分,並執行個別指令。例如,若要清理除了 Photoshop 和 Illustrator 以外的所有產品,請分別執行以下指令:
- AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --incremental --filterProducts="PHSP, ILST"
- AdobeUpdateServerSetupTool.exe --root="<根檔案夾>" --cleanup
若要檢查您上次在增量選項中使用的篩選器,請根據您的作業系統參考以下指令。
例如,FFC 檔案用作伺服器路徑
Windows:powershell -command "& {Get-Content <path for ffc.xml file> -Tail 5}"
範例:/<server>/ACC/services/ffc/products/ffc.xml
macOS: tail -f <path for ffc.xml file>
範例: /<server>/ACC/services/ffc/products/ffc.xml
使用清理選項時,您會看到以下提示:
若要避免此提示,請使用無訊息選項:
AdobeUpdateServerSetupTool.exe --root="<root folder>" --cleanup –silent