diff options
| author | Eric Huss <eric@huss.org> | 2023-04-04 13:42:38 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2023-04-04 13:42:38 -0700 |
| commit | 6b57a344cba18b18178cdcf609d68880f33cc6eb (patch) | |
| tree | bc917fdf63ae63bc77621f83cfb9f8ca9bde5e6d /src/etc/installer | |
| parent | 7b9aa5fa2cb4daf8414b9b8091dc651a8e17f9e7 (diff) | |
| download | rust-6b57a344cba18b18178cdcf609d68880f33cc6eb.tar.gz rust-6b57a344cba18b18178cdcf609d68880f33cc6eb.zip | |
Make rust-docs optional for the Windows MSI installer.
Diffstat (limited to 'src/etc/installer')
| -rw-r--r-- | src/etc/installer/msi/rust.wxs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/etc/installer/msi/rust.wxs b/src/etc/installer/msi/rust.wxs index 0aa0784e544..9f4e4fd0611 100644 --- a/src/etc/installer/msi/rust.wxs +++ b/src/etc/installer/msi/rust.wxs @@ -167,7 +167,9 @@ <?if $(env.CFG_MINGW)="1" ?> <Directory Id="Gcc" Name="." /> <?endif?> + <!-- tool-rust-docs-start --> <Directory Id="Docs" Name="." /> + <!-- tool-rust-docs-end --> <Directory Id="Cargo" Name="." /> <Directory Id="Std" Name="." /> </Directory> @@ -209,6 +211,7 @@ <RegistryValue Root="HKMU" Key="$(var.BaseRegKey)" Name="RustShell" Type="integer" Value="1" KeyPath="yes" /> <RemoveFolder Id="ApplicationProgramsFolder1" On="uninstall" /> </Component> + <!-- tool-rust-docs-start --> <Component Id="DocIndexShortcut" Guid="*"> <Shortcut Id="RustDocs" Name="$(var.ProductName) Documentation" @@ -217,6 +220,7 @@ <RegistryValue Root="HKMU" Key="$(var.BaseRegKey)" Name="RustDocs" Type="integer" Value="1" KeyPath="yes" /> <RemoveFolder Id="ApplicationProgramsFolder2" On="uninstall" /> </Component> + <!-- tool-rust-docs-end --> </Directory> </Directory> @@ -256,6 +260,7 @@ <ComponentGroupRef Id="GccGroup" /> </Feature> <?endif?> + <!-- tool-rust-docs-start --> <Feature Id="Docs" Title="HTML documentation" Display="5" @@ -264,6 +269,7 @@ <ComponentGroupRef Id="DocsGroup" /> <ComponentRef Id="DocIndexShortcut" /> </Feature> + <!-- tool-rust-docs-end --> <Feature Id="Path" Title="Add to PATH" Description="Add Rust to PATH environment variable" |
