-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve existing ProductCode when updating (#215)
* preserve product code and other fields when updating * Add unit tests Co-authored-by: Ryan Fu <Fu.Ryan@microsoft.com>
- Loading branch information
Showing
4 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/WingetCreateTests/WingetCreateTests/Resources/TestPublisher.SingleExe.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
PackageIdentifier: TestPublisher.SingleExe | ||
PackageVersion: 0.1.2 | ||
PackageName: Single exe test | ||
Publisher: Test publisher | ||
License: MIT | ||
ShortDescription: A manifest used to test the update command with a single exe installer. | ||
InstallerLocale: en-US | ||
Installers: | ||
- Architecture: x64 | ||
InstallerUrl: https://fakedomain.com/WingetCreateTestExeInstaller.exe | ||
InstallerType: exe | ||
InstallerSha256: A7803233EEDB6A4B59B3024CCF9292A6FFFB94507DC998AA67C5B745D197A5DC | ||
ProductCode: FakeProductCode | ||
PackageFamilyName: FakePackageFamilyName | ||
Platform: | ||
- Windows.Desktop | ||
PackageLocale: en-US | ||
ManifestType: singleton | ||
ManifestVersion: 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters