|
151 | 151 | <TextStyle Id="WixUI_Font_Normal_White" FaceName="Tahoma" Size="8" Red="255" Green="255" Blue="255" /> |
152 | 152 | <TextStyle Id="WixUI_Font_Bigger_White" FaceName="Tahoma" Size="12" Red="255" Green="255" Blue="255" /> |
153 | 153 | <TextStyle Id="WixUI_Font_Title_White" FaceName="Tahoma" Size="9" Bold="yes" Red="255" Green="255" Blue="255" /> |
| 154 | + <Publish Dialog="ExitDialog" |
| 155 | + Control="Finish" |
| 156 | + Event="DoAction" |
| 157 | + Value="PostLaunchReleaseNote">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed</Publish> |
154 | 158 | </UI> |
155 | 159 |
|
156 | 160 | <WixVariable Id="WixUILicenseRtf" Value="assets\LICENSE.rtf" /> |
|
291 | 295 | Return="check" |
292 | 296 | Impersonate="yes" /> |
293 | 297 |
|
| 298 | + <!-- |
| 299 | + Show custom navigation to release note |
| 300 | + NOTE: The issue with checkbox with gray background color won't be fixed. |
| 301 | + See https://github.com/wixtoolset/issues/issues/1687#issuecomment-166082031 |
| 302 | + --> |
| 303 | + <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/> |
| 304 | + <CustomAction Id="SetExitDialogDescription" |
| 305 | + Property="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" |
| 306 | + Value="Visit [ProductName] release note"/> |
| 307 | + <CustomAction Id="SetPostVisitReleaseNote" |
| 308 | + Property="PostVisitReleaseNote" |
| 309 | + Value="https://github.com/fluent/fluent-package-builder/releases/tag/v[ProductVersion]" /> |
| 310 | + <CustomAction Id="PostLaunchReleaseNote" |
| 311 | + Directory="TARGETDIR" |
| 312 | + Execute="immediate" |
| 313 | + ExeCommand="explorer.exe [PostVisitReleaseNote]" |
| 314 | + Impersonate="yes" |
| 315 | + Return="asyncNoWait" /> |
| 316 | + |
| 317 | + <InstallUISequence> |
| 318 | + <!-- Show navigation checkbox to access release note --> |
| 319 | + <Custom Action="SetPostVisitReleaseNote" After="FindRelatedProducts">NOT Installed</Custom> |
| 320 | + <Custom Action="SetExitDialogDescription" After="SetPostVisitReleaseNote">NOT Installed</Custom> |
| 321 | + </InstallUISequence> |
| 322 | + |
294 | 323 | <InstallExecuteSequence> |
295 | 324 | <Custom Action="SetPostInstallCommand" After="InstallFiles">NOT Installed</Custom> |
296 | 325 | <Custom Action="PostInstall" After="SetPostInstallCommand">NOT Installed</Custom> |
|
0 commit comments