Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions src/content/docs/distribute/windows-installer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,21 @@ Your application WILL NOT work if the user does not have the runtime installed a
}
```

## Minimum Webview2 version

If your app requires features only available in newer Webview2 versions (such as custom URI schemes), you can instruct the Windows installer
to verify the current Webview2 version and run the Webview2 bootstrapper if it does not match the target version.

```json title="tauri.conf.json"
{
"bundle": {
"windows": {
"minimumWebview2Version": "110.0.1531.0"
}
}
}
```

## Customizing the WiX Installer

See the [WiX configuration] for the complete list of customization options.
Expand Down Expand Up @@ -677,23 +692,6 @@ You can also configure the installer to display a language selector before the i
}
```

### Minimum Webview2 version

If your app requires features only available in newer Webview2 versions (such as custom URI schemes), you can instruct the Windows installer
to verify the current Webview2 version and run the Webview2 bootstrapper if it does not match the target version.

```json title="tauri.conf.json"
{
"bundle": {
"windows": {
"nsis": {
"minimumWebview2Version": "110.0.1531.0"
}
}
}
}
```

[wix toolset v3]: https://wixtoolset.org/documentation/manual/v3/
[nsis]: https://nsis.sourceforge.io/Main_Page
[platform support]: https://doc.rust-lang.org/nightly/rustc/platform-support.html
Expand Down
30 changes: 14 additions & 16 deletions src/content/docs/ja/distribute/windows-installer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,20 @@ Expand .\Microsoft.WebView2.FixedVersionRuntime.128.0.2739.42.x64.cab -F:* ./src
}
```

## ミニマム Webview2 バージョン

あなたのアプリが、新しい Webview2 バージョンでのみ利用可能な機能(カスタム URI スキームなど)を必要としている場合は、Windows インストーラーに「現在の Webview2 バージョンを確認し、ターゲット・バージョンと一致しない場合は Webview2 ブートストラップ・ローダーを実行する」ように指示できます。

```json title="tauri.conf.json"
{
"bundle": {
"windows": {
"minimumWebview2Version": "110.0.1531.0"
}
}
}
```

## WiXインストーラーのカスタマイズ

カスタマイズ・オプションの全リストを知りたい場合は、[WiX configuration] を参照してください。
Expand Down Expand Up @@ -650,22 +664,6 @@ NSIS でサポートされている言語のリストは、[NSIS GitHub プロ
}
```

### ミニマム Webview2 バージョン

あなたのアプリが、新しい Webview2 バージョンでのみ利用可能な機能(カスタム URI スキームなど)を必要としている場合は、Windows インストーラーに「現在の Webview2 バージョンを確認し、ターゲット・バージョンと一致しない場合は Webview2 ブートストラップ・ローダーを実行する」ように指示できます。

```json title="tauri.conf.json"
{
"bundle": {
"windows": {
"nsis": {
"minimumWebview2Version": "110.0.1531.0"
}
}
}
}
```

[wix toolset v3]: https://wixtoolset.org/documentation/manual/v3/
[nsis]: https://nsis.sourceforge.io/Main_Page
[platform support]: https://doc.rust-lang.org/nightly/rustc/platform-support.html
Expand Down
Loading