From 0b1ed2b9430377a5d3550de0478ced2200de55a3 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sat, 17 Feb 2024 02:49:37 -0600 Subject: [PATCH] Trying a potential real Wix fix --- .github/scripts/build_msi.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/build_msi.ps1 b/.github/scripts/build_msi.ps1 index 0537f31b..3db0f418 100644 --- a/.github/scripts/build_msi.ps1 +++ b/.github/scripts/build_msi.ps1 @@ -43,5 +43,7 @@ copy ".\.github\resources\MSI Template.wxs" ".\" & $Candle -dAppName=""$env:blt_name"" -dAppVersion=""$env:build_version"" -dAppVendor=""$env:blt_vendor"" -dAppUpgradeCode=""$env:blt_upgradecode"" -dAppDescription=""$env:blt_description"" -dAppVendorFolder=""$env:blt_vendor_folder"" -dAppIcon=""$env:blt_icon"" -nologo *.wxs -ext WixUIExtension -ext WixFirewallExtension -arch x64 #Compile MSI -#& $Light -b "Beat Link Trigger" -nologo "*.wixobj" -out ""$env:artifact_name"" -ext WixUIExtension -ext WixFirewallExtension -& $Light -b "Beat Link Trigger" -nologo "*.wixobj" -out "D:\a\beat-link-trigger\beat-link-trigger\Beat-Link-Trigger-7.4.0-Preview-Win64.msi" -ext WixUIExtension -ext WixFirewallExtension +$CurrentWorkingDir = (Get-Location).Path +$LightOutFile = $CurrentWorkingDir+"\"+$env:artifact_name +Write-Output "Compile MSI: -out $LightOutFile" +& $Light -b "Beat Link Trigger" -nologo "*.wixobj" -out ""$LightOutFile"" -ext WixUIExtension -ext WixFirewallExtension