Serverのときと同様にインストーラーの解凍だけはGUI必須...
自動化した処理
- ArcGIS Desktop 10.5のインストール
- ArcGIS Desktop 10.5の認証
インストーラーを解凍する
ArcGIS_Desktop_105_ja_155323.exeを実行する.
解凍先を適宜設定する.
「今すぐプログラムを実行」のチェックを外すこと.
インストーラーを実行する
$arcGISDesktopSetupExe = "{0}\..\Installer\Desktop_Japanese\Setup.exe" -f $scriptDir
$arcGISDesktopSetupArg = "/qn /quiet SOFTWARE_CLASS=Editor SEAT_PREFERENCE=Fixed DESKTOP_CONFIG=TRUE ENABLEEUEI=0"
Start-Process -FilePath $arcGISDesktopSetupExe -ArgumentList $arcGISDesktopSetupArg -Verb runas -Wait
ライセンス認証を行う
$prvcPath = "E:\PrvcFiles\ArcGISDesktopStandard10.5.prvc"
$softwareAuthorizationExe = "C:\Program Files\Common Files\ArcGIS\bin\softwareauthorization.exe"
$softwareAuthorizationArg = "-S -LIF {0}" -f $prvcPath
Start-Process -FilePath $softwareAuthorizationExe -ArgumentList $softwareAuthorizationArg -Verb runas -Wait
ArcGISDesktopStandard10.5.prvc
// User Information
First Name=Hoge
Last Name=Fuga
Organization=Some Company
Department=System Development
Email=someone@somecompany.co.jp
Address 1=1-1-1 Shinagawa
City=Shinagawa-ku
State/Province=Tokyo
Country=Japan
Zip/Postal Code=111-1111
Phone Number=+81(0)3-1234-5678
// Features and authorization numbers
ArcGIS Desktop=ESUP000000000