Skip to content

Commit fd0aef9

Browse files
authored
Merge pull request #17655 from iterate-ch/bugfix/GH-17654
Handle missing BuildVersion during repair
2 parents ae2efac + 2f49d7e commit fd0aef9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/src/main/wix/Bundle/Cyberduck CLI-WiX.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<MediaTemplate EmbedCab="yes" />
1010
<Property Id="REINSTALLMODE" Value="dmus"/>
1111

12-
<Property Id="BUILDVERSION" Value="0">
12+
<Property Id="BUILDVERSION" Value="0" Secure="yes">
1313
<RegistrySearch Id="BuildVersion" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion" Type="raw" Name="CurrentBuild" />
1414
</Property>
1515

windows/src/main/wix/Bundle/Cyberduck.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<MajorUpgrade AllowDowngrades="yes" />
77
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
88

9-
<Property Id="BUILDVERSION" Value="0">
9+
<Property Id="BUILDVERSION" Value="0" Secure="yes">
1010
<RegistrySearch Id="BuildVersion" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion" Type="raw" Name="CurrentBuild" />
1111
</Property>
1212

0 commit comments

Comments
 (0)