This commit is contained in:
Armin Schrenk 2021-08-04 11:41:56 +02:00
parent c19a92733c
commit 2ea2a4ecec
No known key found for this signature in database
GPG Key ID: 8F2992163CBBA7FC
2 changed files with 6 additions and 5 deletions

View File

@ -458,7 +458,7 @@ jobs:
--resource-dir dist/win/resources
--license-file dist/win/resources/license.rtf
env:
JpackageWixWizardResources: ${{ github.workspace }}/dist/win/resources # seems to require an abs path?
JP_WIXWIZARD_RESOURCES: ${{ github.workspace }}/dist/win/resources # requires abs path, used in resources/main.wxs
- name: Codesign MSI
uses: skymatic/code-sign-action@v1.1.0
with:

View File

@ -83,9 +83,10 @@
</Dialog>
<!--
Run WixUI_InstallDir dialog in the default install directory.
Run our custom wizard in the default install directory.
-->
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>
<!-- included at the end -->
<UIRef Id="CustomWizard" />
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="JpCheckInstallDir" Order="3">1</Publish>
@ -126,9 +127,9 @@
<RemoveExistingProducts Before="CostInitialize"/>
</InstallExecuteSequence>
<WixVariable Id="WixUIBannerBmp" Value="$(env.JpackageWixWizardResources)\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="$(env.JpackageWixWizardResources)\background.bmp" />
<WixVariable Id="WixUIBannerBmp" Value="$(env.JP_WIXWIZARD_RESOURCES)\banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="$(env.JP_WIXWIZARD_RESOURCES)\background.bmp" />
</Product>
<?include $(env.JpackageWixWizardResources)\customWizard.wxi ?>
<?include $(env.JP_WIXWIZARD_RESOURCES)\customWizard.wxi ?>
</Wix>