Skip to content

Commit 0daed5d

Browse files
committed
winget-pkgs (AppsAndFeaturesEntries / UpgradeCode)
1 parent c666426 commit 0daed5d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Wix/1.0.9.0/StefHeyenrath.GitHubReleaseNotes.installer.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ NestedInstallerType: portable
77
NestedInstallerFiles:
88
- RelativeFilePath: GitHubReleaseNotes.exe
99
ProductCode: '{32249977-C6C1-40ED-B6A8-7084E69A0E7A}'
10-
ReleaseDate: 2024-02-02
10+
ReleaseDate: 2024-02-07
11+
AppsAndFeaturesEntries:
12+
- UpgradeCode: '{C6C9F090-5E9F-4E30-B9D1-43238271456F}'
1113
Installers:
1214
- Architecture: x64
1315
InstallerUrl: https://github.com/StefH/GitHubReleaseNotes/releases/download/1.0.9.0/GitHubReleaseNotes.zip
14-
InstallerSha256: 26C3558610A7FBAB818C70560B28DF11636057D8DDFEEF0D11D0001A8729F619
16+
InstallerSha256: E7B6FB213DA40652F47B360C2E64141E5698085AC182C8E50071B5ED131D6319
1517
ManifestType: installer
1618
ManifestVersion: 1.5.0

Wix/generate files.linq

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ string CreateSHA256()
3333
}
3434

3535
string productCode = $"{{{File.ReadAllText(Path.Combine(folder, "productGuid.txt"))}}}";
36-
// string upgradeCode = $"{{{File.ReadAllText(Path.Combine(folder, "upgradeGuid.txt"))}}}";
36+
string upgradeCode = $"{{{File.ReadAllText(Path.Combine(folder, "upgradeGuid.txt"))}}}";
3737

3838
// StefHeyenrath.GitHubReleaseNotes.installer.yaml
3939
string installerText =
@@ -47,6 +47,8 @@ NestedInstallerFiles:
4747
- RelativeFilePath: GitHubReleaseNotes.exe
4848
ProductCode: '{productCode}'
4949
ReleaseDate: {dateModified}
50+
AppsAndFeaturesEntries:
51+
- UpgradeCode: '{upgradeCode}'
5052
Installers:
5153
- Architecture: x64
5254
InstallerUrl: https://github.com/StefH/GitHubReleaseNotes/releases/download/{version}/GitHubReleaseNotes.zip

0 commit comments

Comments
 (0)