Skip to content

Commit 74b706a

Browse files
barnsoncompnerd
authored andcommitted
Disable feature checkbox for bld.msi.
1 parent c519c0a commit 74b706a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

platforms/Windows/bundle/installer.wxs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
-->
2828
<Variable Name="InstallRoot" bal:Overridable="yes" Type="formatted" Persisted="yes"
2929
Value="[LocalAppDataFolder]Programs\Swift" />
30-
<Variable Name="OptionsInstallBld" bal:Overridable="yes" Persisted="yes" Value="1" />
30+
<Variable Name="OptionsInstallBld" Value="1" />
3131
<Variable Name="OptionsInstallCli" bal:Overridable="yes" Persisted="yes" Value="1" />
3232
<Variable Name="OptionsInstallDbg" bal:Overridable="yes" Persisted="yes" Value="1" />
3333
<Variable Name="OptionsInstallIde" bal:Overridable="yes" Persisted="yes" Value="1" />
@@ -68,7 +68,6 @@
6868

6969
<MsiPackage
7070
SourceFile="!(bindpath.bld)\bld.msi"
71-
InstallCondition="OptionsInstallBld"
7271
DownloadUrl="$(BaseReleaseDownloadUrl)/{2}">
7372
<MsiProperty Name="INSTALLROOT" Value="[InstallRoot]" />
7473
</MsiPackage>

platforms/Windows/bundle/theme.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</Button>
5757

5858
<Label X="176" Y="111" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.OptionsFeaturesLabel)</Label>
59-
<Checkbox Name="OptionsInstallBld" X="176" Y="141" Width="-11" Height="17" TabStop="yes" FontId="3">#(loc.Bld_ProductName)</Checkbox>
59+
<Checkbox Name="OptionsInstallBld" X="176" Y="141" Width="-11" Height="17" TabStop="yes" FontId="3" EnableCondition="0">#(loc.Bld_ProductName)</Checkbox>
6060
<Checkbox Name="OptionsInstallCli" X="176" Y="159" Width="-11" Height="17" TabStop="yes" FontId="3">#(loc.Cli_ProductName)</Checkbox>
6161
<Checkbox Name="OptionsInstallDbg" X="176" Y="177" Width="-11" Height="17" TabStop="yes" FontId="3">#(loc.Dbg_ProductName)</Checkbox>
6262
<Checkbox Name="OptionsInstallIde" X="176" Y="195" Width="-11" Height="17" TabStop="yes" FontId="3">#(loc.Ide_ProductName)</Checkbox>

0 commit comments

Comments
 (0)