Skip to content

Commit d1b5a64

Browse files
committed
Rename dbg.msi and dbg.cab to dbg.asserts.msi and dbg.asserts.cab
1 parent 64d80cb commit d1b5a64

File tree

9 files changed

+22
-14
lines changed

9 files changed

+22
-14
lines changed

platforms/Windows/SideBySideUpgradeStrategy.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PropertyGroup>
2020
<BldAssertsUpgradeCode>{7E95DC06-7F84-4E8E-A038-8304AF0468FB}</BldAssertsUpgradeCode>
2121
<CliAssertsUpgradeCode>{87019842-3F3E-4227-B5C5-23A8EF72AD89}</CliAssertsUpgradeCode>
22-
<DbgUpgradeCode>{91D382AF-1E92-44DC-A4AD-AEE91C1B5160}</DbgUpgradeCode>
22+
<DbgAssertsUpgradeCode>{91D382AF-1E92-44DC-A4AD-AEE91C1B5160}</DbgAssertsUpgradeCode>
2323
<IdeUpgradeCode>{8DD91C86-D13D-490B-B06B-9522A9CF504C}</IdeUpgradeCode>
2424
<RtlUpgradeCode>{BEA8C6DC-F73E-445B-9486-2333D1CF2886}</RtlUpgradeCode>
2525
<AndroidPlatformUpgradeCode>{313B9C1F-D5B5-4FED-B7E0-138F1EE6B26A}</AndroidPlatformUpgradeCode>
@@ -56,7 +56,7 @@
5656
BundleUpgradeCode=$(BundleUpgradeCode);
5757
BldAssertsUpgradeCode=$(BldAssertsUpgradeCode);
5858
CliAssertsUpgradeCode=$(CliAssertsUpgradeCode);
59-
DbgUpgradeCode=$(DbgUpgradeCode);
59+
DbgAssertsUpgradeCode=$(DbgAssertsUpgradeCode);
6060
IdeUpgradeCode=$(IdeUpgradeCode);
6161
RtlUpgradeCode=$(RtlUpgradeCode);
6262
AndroidPlatformUpgradeCode=$(AndroidPlatformUpgradeCode);

platforms/Windows/bundle/installer.wixproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ItemGroup>
1919
<ProjectReference Include="..\bld\asserts\bld.asserts.wixproj" BindName="bld.asserts" />
2020
<ProjectReference Include="..\cli\asserts\cli.asserts.wixproj" BindName="cli.asserts" />
21-
<ProjectReference Include="..\dbg\dbg.wixproj" BindName="dbg" />
21+
<ProjectReference Include="..\dbg\asserts\dbg.asserts.wixproj" BindName="dbg.asserts" />
2222
<ProjectReference Include="..\ide\ide.wixproj" BindName="ide" />
2323
<ProjectReference Include="..\rtl\msi\rtlmsi.wixproj" BindName="rtl" />
2424
</ItemGroup>

platforms/Windows/bundle/installer.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
</MsiPackage>
9696

9797
<MsiPackage
98-
SourceFile="!(bindpath.dbg)\dbg.msi"
98+
SourceFile="!(bindpath.dbg.asserts)\dbg.asserts.msi"
9999
InstallCondition="OptionsInstallDBG = 1"
100100
DownloadUrl="$(BaseReleaseDownloadUrl)/{2}">
101101
<MsiProperty Name="INSTALLROOT" Value="[InstallRoot]" />
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project Sdk="WixToolset.Sdk/4.0.5">
2+
<PropertyGroup>
3+
<OutputName>dbg.asserts</OutputName>
4+
</PropertyGroup>
5+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2+
<?include ../dbg.wxi ?>
3+
</Wix>

platforms/Windows/dbg/dbg.wixproj

Lines changed: 0 additions & 2 deletions
This file was deleted.

platforms/Windows/dbg/dbg.wxs renamed to platforms/Windows/dbg/dbg.wxi

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
23

34
<?define ToolchainRoot = $(ImageRoot)\Toolchains\$(ProductVersion)+Asserts?>
45

56
<Package
67
Language="1033"
78
Manufacturer="!(loc.ManufacturerName)"
8-
Name="!(loc.Dbg_ProductName)"
9-
UpgradeCode="$(DbgUpgradeCode)"
9+
Name="!(loc.DbgAsserts_ProductName)"
10+
UpgradeCode="$(DbgAssertsUpgradeCode)"
1011
Version="$(NonSemVerProductVersion)"
1112
Scope="$(PackageScope)">
1213

13-
<Media Id="1" Cabinet="dbg.cab" EmbedCab="$(ArePackageCabsEmbedded)" />
14+
<Media Id="1" Cabinet="dbg.asserts.cab" EmbedCab="$(ArePackageCabsEmbedded)" />
1415

15-
<WixVariable Id="SideBySidePackageUpgradeCode" Value="$(DbgUpgradeCode)" />
16+
<WixVariable Id="SideBySidePackageUpgradeCode" Value="$(DbgAssertsUpgradeCode)" />
1617
<FeatureGroupRef Id="SideBySideUpgradeStrategy" />
1718

1819
<DirectoryRef Id="_usr_include">
@@ -140,7 +141,7 @@
140141
</Component>
141142
</ComponentGroup>
142143

143-
<Feature Id="DebuggingTools" AllowAbsent="no" Title="!(loc.Dbg_ProductName)">
144+
<Feature Id="DebuggingTools" AllowAbsent="no" Title="!(loc.DbgAsserts_ProductName)">
144145
<ComponentGroupRef Id="LLDB" />
145146
<ComponentGroupRef Id="LLDBServer" />
146147

@@ -153,4 +154,4 @@
153154
<ComponentGroupRef Id="VersionedDirectoryCleanup" />
154155
</Feature>
155156
</Package>
156-
</Wix>
157+
</Include>

platforms/Windows/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Note that these GUIDs are substituted at bind time so they skip the normal valid
216216

217217
| Property | Description |
218218
| -------- | ----------- |
219-
| BldAssertsUpgradeCode, CliAssertsUpgradeCode, DbgUpgradeCode, IdeUpgradeCode, RtlUpgradeCode, WindowsSDKUpgradeCode, AndroidSDKUpgradeCode | Upgrade codes for individual packages. Packages keep the same upgrade codes "forever" because MSI lets you specify version ranges for upgrades, which you can find in `shared/shared.wxs`. |
219+
| BldAssertsUpgradeCode, CliAssertsUpgradeCode, DbgAssertsUpgradeCode, IdeUpgradeCode, RtlUpgradeCode, WindowsSDKUpgradeCode, AndroidSDKUpgradeCode | Upgrade codes for individual packages. Packages keep the same upgrade codes "forever" because MSI lets you specify version ranges for upgrades, which you can find in `shared/shared.wxs`. |
220220
| BundleUpgradeCode | Upgrade codes for the bundle. Bundles don't support upgrade version ranges, so the bundle upgrade code must change for every minor version _and_ stay the same for the entire lifetime of that minor version (e.g., v5.10.0 through v5.10.9999). You can keep the history of upgrade codes using a condition like `Condition="'$(MajorMinorProductVersion)' == '5.10'` or just replace BundleUpgradeCode when forking to a new minor version. |
221221

222222

platforms/Windows/shared/swift.en-us.wxl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<String Id="Cli_ProductName" Value="Swift Command Line Tools" />
88
<String Id="CliAsserts_ProductName" Value="Swift Command Line Tools (Asserts)" />
99
<String Id="Dbg_ProductName" Value="Swift Debugging Tools" />
10+
<String Id="DbgAsserts_ProductName" Value="Swift Debugging Tools (Asserts)" />
1011
<String Id="Ide_ProductName" Value="Swift IDE Integration Tools" />
1112
<String Id="Rtl_ProductName" Value="Swift Windows Runtime" />
1213
<String Id="VCRuntime_ProductName_arm64" Value="Visual C++ Runtime (ARM64)" />

0 commit comments

Comments
 (0)