Skip to content

Commit c2763e8

Browse files
committed
1 parent d74608e commit c2763e8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

fluent-package/msi/source.wxs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,20 @@
280280
Return="check"
281281
Impersonate="no" />
282282

283+
<!-- Show custom navigation to release note -->
284+
<Property Id="BROWSER">
285+
<RegistrySearch Id="DefaultBrowser" Type="raw" Root='HKCR' Key='http\shell\open\command' />
286+
</Property>
287+
<Property Id="FluentPackageReleaseNote" Value=" "/>
288+
<CustomAction Id="SetFluentPackageReleaseNote"
289+
Property="FluentPackageReleaseNote"
290+
Value="https://github.com/fluent/fluent-package-builder/releases/tag/v[ProductVersion]"/>
291+
<CustomAction Id="PostVisitReleaseNote" Property="BROWSER" ExeCommand="[FluentPackageReleaseNote]" Return="asyncNoWait" />
292+
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
293+
<CustomAction Id="SetExitDialogDescription"
294+
Property="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT"
295+
Value="Visit [ProductName] release note"/>
296+
283297
<InstallExecuteSequence>
284298
<Custom Action="SetPostInstallCommand" After="InstallFiles">NOT Installed</Custom>
285299
<Custom Action="PostInstall" After="SetPostInstallCommand">NOT Installed</Custom>
@@ -295,6 +309,11 @@
295309
<Custom Action="SetCreateCompatTdAgentGemBat" Before="InstallFinalize">NOT Installed</Custom>
296310
<Custom Action="CreateCompatTdAgentGemBat" After="SetCreateCompatTdAgentGemBat">NOT Installed</Custom>
297311

312+
<!-- Show navigation checkbox to access release note -->
313+
<Custom Action="SetFluentPackageReleaseNote" Before="InstallFinalize">NOT Installed</Custom>
314+
<Custom Action="SetExitDialogDescription" After="SetFluentPackageReleaseNote">NOT Installed</Custom>
315+
<Custom Action="PostVisitReleaseNote" After="InstallFinalize">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed</Custom>
316+
298317
<!-- Delete hardlink before removing installed files -->
299318
<Custom Action="SetDeleteCompatTdAgentBat" After="InstallInitialize">Installed AND NOT REINSTALL</Custom>
300319
<Custom Action="DeleteCompatTdAgentBat" After="SetDeleteCompatTdAgentBat">Installed AND NOT REINSTALL</Custom>

0 commit comments

Comments
 (0)