> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Advanced Designer をインストールして実行する

> Windows で ABBYY Vantage Advanced Designer をダウンロード、インストール、サインイン、接続の管理、更新する方法を説明します。複数のバージョンをサイドバイサイドで実行する方法も含みます。

export const VantageRegion = ({children}) => {
  const STORAGE_KEY = "abbyy.vantage.region";
  const REGIONS = [{
    code: "eu",
    label: "Europe"
  }, {
    code: "us",
    label: "North America"
  }, {
    code: "au",
    label: "Australia / Asia-Pacific"
  }];
  const [region, setRegion] = useState("eu");
  const [open, setOpen] = useState(false);
  const containerRef = useRef(null);
  const dropdownRef = useRef(null);
  function safeGetSavedRegion() {
    try {
      const saved = typeof window !== "undefined" ? window.localStorage.getItem(STORAGE_KEY) : null;
      const valid = new Set(REGIONS.map(r => r.code));
      return saved && valid.has(saved) ? saved : "eu";
    } catch {
      return "eu";
    }
  }
  function safeSetSavedRegion(code) {
    try {
      if (typeof window !== "undefined") {
        window.localStorage.setItem(STORAGE_KEY, code);
      }
    } catch {}
  }
  function dispatchRegionChanged(code) {
    try {
      if (typeof window !== "undefined") {
        window.dispatchEvent(new CustomEvent("abbyy:region-changed", {
          detail: {
            code
          }
        }));
      }
    } catch {}
  }
  function replaceRegionInString(text, currentRegion) {
    if (typeof text !== "string") return text;
    const hostRegex = /https:\/\/vantage-(eu|us|au)\.abbyy\.com/gi;
    const tokenRegex = /https:\/\/vantage-\[region\]\.abbyy\.com/gi;
    const bareHostRegex = /vantage-(eu|us|au)\.abbyy\.com/gi;
    const bareTokenRegex = /vantage-\[region\]\.abbyy\.com/gi;
    return text.replace(hostRegex, `https://vantage-${currentRegion}.abbyy.com`).replace(tokenRegex, `https://vantage-${currentRegion}.abbyy.com`).replace(bareHostRegex, `vantage-${currentRegion}.abbyy.com`).replace(bareTokenRegex, `vantage-${currentRegion}.abbyy.com`);
  }
  useEffect(() => {
    setRegion(safeGetSavedRegion());
  }, []);
  useEffect(() => {
    const root = containerRef.current;
    if (!root) return;
    const anchors = root.querySelectorAll("a[href]");
    anchors.forEach(a => {
      const href = a.getAttribute("href");
      if (href) {
        const next = replaceRegionInString(href, region);
        if (next !== href) {
          a.setAttribute("href", next);
        }
      }
    });
    const walker = typeof document !== "undefined" ? document.createTreeWalker(root, NodeFilter.SHOW_TEXT, null) : null;
    if (walker) {
      const toUpdate = [];
      let node = walker.nextNode();
      while (node) {
        const updated = replaceRegionInString(node.nodeValue, region);
        if (updated !== node.nodeValue) {
          toUpdate.push([node, updated]);
        }
        node = walker.nextNode();
      }
      toUpdate.forEach(([textNode, value]) => {
        textNode.nodeValue = value;
      });
    }
  }, [region, children]);
  useEffect(() => {
    const root = containerRef.current;
    if (!root) return;
    const anchors = root.querySelectorAll("a[href]");
    anchors.forEach(a => {
      a.style.fontWeight = "600";
      a.style.textDecoration = "underline";
      a.style.textUnderlineOffset = "2px";
    });
  }, [region, children]);
  useEffect(() => {
    const onRegionChanged = evt => {
      const code = evt && evt.detail && evt.detail.code;
      if (!code || code === region) return;
      setRegion(code);
    };
    if (typeof window !== "undefined") {
      window.addEventListener("abbyy:region-changed", onRegionChanged);
    }
    return () => {
      if (typeof window !== "undefined") {
        window.removeEventListener("abbyy:region-changed", onRegionChanged);
      }
    };
  }, [region]);
  useEffect(() => {
    const onClickAway = e => {
      if (!dropdownRef.current) return;
      if (!dropdownRef.current.contains(e.target)) {
        setOpen(false);
      }
    };
    document.addEventListener("click", onClickAway, true);
    return () => document.removeEventListener("click", onClickAway, true);
  }, []);
  const onSelect = code => {
    setRegion(code);
    safeSetSavedRegion(code);
    dispatchRegionChanged(code);
    setOpen(false);
  };
  const current = REGIONS.find(r => r.code === region) || REGIONS[0];
  return <div className="not-prose">
      <div className="mb-4 inline-flex items-center gap-2" ref={dropdownRef}>
        <span className="text-sm text-zinc-950/80 dark:text-white/80">Tenant Region:</span>
        <div className="relative">
          <button type="button" aria-haspopup="listbox" aria-expanded={open ? "true" : "false"} onClick={() => setOpen(v => !v)} className="h-8 px-3 rounded-md bg-zinc-900/5 dark:bg-white/5 border border-zinc-950/20 dark:border-white/20 text-sm inline-flex items-center gap-2">
            <span className="text-zinc-950 dark:text-white">{current.label}</span>
            <svg width="8" height="24" viewBox="0 -9 3 24" className="transition-transform text-gray-400 overflow-visible dark:text-gray-600 ml-auto" style={{
    transform: open ? "rotate(270deg)" : "rotate(90deg)"
  }}>
              <path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"></path>
            </svg>
          </button>
          {open ? <div role="listbox" className="absolute z-50 left-full top-0 ml-2 w-56 rounded-xl border border-zinc-950/20 dark:border-white/20 bg-white dark:bg-zinc-900 shadow-lg p-2">
              {REGIONS.map(r => {
    const selected = r.code === region;
    return <button key={r.code} type="button" role="option" aria-selected={selected ? "true" : "false"} onClick={() => onSelect(r.code)} className={"w-full flex items-center justify-between px-3 py-2 rounded-lg text-sm hover:bg-zinc-950/5 dark:hover:bg-white/10 text-zinc-950 dark:text-white" + (selected ? " font-medium" : "")}>
                    <span style={selected ? {
      color: "#ff2038"
    } : undefined}>{r.label}</span>
                    <span className={selected ? "ml-3" : "ml-3 invisible"} style={selected ? {
      color: "#ff2038"
    } : undefined}>✓</span>
                  </button>;
  })}
            </div> : null}
        </div>
      </div>
      <div ref={containerRef} className="prose dark:prose-invert max-w-none">{children}</div>
    </div>;
};

Windows マシンに Advanced Designer をインストールし、その後 ABBYY Vantage テナントに接続します。Advanced Designer はどのユーザーでもインストールできますが、一部の[追加のインストール オプション](/ja/vantage/documentation/advanced-designer/additional-install)には管理者権限が必要です。ハードウェア要件と OS 要件については、[システム要件](/ja/vantage/documentation/advanced-designer/system-reqs)を参照してください。

<div id="install-advanced-designer">
  ## Advanced Designer をインストールする
</div>

<Steps>
  <Step title="インストーラーをダウンロードする">
    <VantageRegion>
      [Vantage のダウンロードページ](https://vantage-us.abbyy.com/ad/latest)から Advanced Designer の最新バージョンをダウンロードします。このページには、バージョン、ビルド番号、リリース日も記載されています。
    </VantageRegion>
  </Step>

  <Step title="インストーラーを実行する">
    ダウンロードしたファイルを開き、画面の指示に従ってインストールを完了します。
  </Step>

  <Step title="ログインする">
    Advanced Designer を開き、ABBYY Vantage で使用しているものと同じユーザー名とパスワードでサインインします。
  </Step>
</Steps>

<div id="manage-connections">
  ## 接続の管理
</div>

| タスク                     | 操作方法                                                                                  |
| :---------------------- | :------------------------------------------------------------------------------------ |
| 新しい Vantage インスタンスに接続する | **Show user profile** メニューから **New Connection** を選択して、認証ダイアログで URL、ログイン名、パスワードを入力します。 |
| アクティブな接続を切り替える          | **Show user profile** メニューから URL を選択します。                                              |
| アクティブな接続を閉じる            | **Log Out** を選択します。                                                                   |

<Note>
  互換性のないバージョンの Advanced Designer で Vantage インスタンスに接続しようとすると、互換性のあるバージョンをインストールするよう案内するリンクが Advanced Designer に表示されます。
</Note>

<div id="language-settings">
  ## 言語設定
</div>

インターフェース言語を変更するには、**Show user profile** メニューから **インターフェイス言語** を選択します。変更を反映するには、Advanced Designer を再起動してください。

**サポートされている言語:** 英語、ドイツ語、フランス語、スペイン語、日本語、韓国語、中国語 (簡体字) 。

<div id="update-advanced-designer">
  ## Advanced Designerを更新する
</div>

Advanced Designerは起動するたびに更新を確認します。新しいバージョンが利用可能な場合は、ダウンロードページへのリンクを含む通知が表示されます。アプリケーションを更新したら、後のリリースで追加された機能を利用するために、[既存のSkillを新しいTechnology Coreバージョンにアップグレード](/ja/vantage/documentation/advanced-designer/upgrading-to-new-version)してください。

<Warning>
  既定では、1台のマシンにインストールできるAdvanced Designerのバージョンは1つだけです。新しいバージョンをインストールすると、別のインストールディレクトリを選択した場合でも、既存のバージョンはアンインストールされます。
</Warning>

<div id="run-two-versions-side-by-side">
  ### 2 つのバージョンを並べて実行する
</div>

古いバージョン (例: 2.7) を新しいバージョン (例: 3.0) と併せてインストールしたままにするには、次の手順に従います。

<Steps>
  <Step title="既存のインストール フォルダーの名前を変更する">
    新しいバージョンをインストールする前に、既存のインストール フォルダー (既定では `C:\Users\<UserName>\AppData\Local\Programs\ABBYY\Vantage\AdvancedDesigner`) に移動し、`AdvancedDesigner` をバージョンを含む名前 (例: `AdvancedDesigner_2_7`) に変更します。
  </Step>

  <Step title="新しいバージョンをインストールする">
    新しいインストーラーを実行します。元のフォルダー名が変更されているため、インストーラーは古いインストールを上書きせず、新しい `AdvancedDesigner` フォルダーを作成します。
  </Step>

  <Step title="古いバージョン用のショートカットを作成する">
    名前を変更したフォルダー (古いバージョンのフォルダー) 内の実行可能ファイルを指す Windows ショートカットを作成すると、必要に応じてどちらのバージョンも起動できます。
  </Step>
</Steps>

<div id="related-topics">
  ## 関連トピック
</div>

* [Advanced Designer のシステム要件](/ja/vantage/documentation/advanced-designer/system-reqs)
* [Advanced Designer のインストールオプション](/ja/vantage/documentation/advanced-designer/additional-install)
* [Advanced Designer Skill Technology Core のアップグレード](/ja/vantage/documentation/advanced-designer/upgrading-to-new-version)
* [Advanced Designer 入門](/ja/vantage/documentation/advanced-designer/getting-started)
