After this was fixed: https://github.com/wixtoolset/issues/issues/7139
I pulled the github source and compiled it, but still get an error for the Custom Actions regarding the Binary Reference:
error WIX0094: The identifier 'Binary:Wix4UtilCA_X86' could not be found. Ensure you have typed the reference correctly and that all the necessary inputs are provided to the linker.
This is the XML Code:
<CustomAction Id="RegisterPSCmd" Property="RegisterPowerShellProperty" Value=""C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -InputFormat None -NoProfile -File "C:\Windows\PCache\WSA0727-Notepad++_8.4.1_G\Deploy-Application.ps1" "-DeploymentType Install"" Execute="immediate" />
<CustomAction Id="RegisterPSCmdUninstall" Property="RegisterPowerShellPropertyUninstall" Value=""C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NonInteractive -InputFormat None -NoProfile -File "C:\Windows\PCache\WSA0727-Notepad++_8.4.1_G\Deploy-Application.ps1" "-DeploymentType Uninstall"" Execute="immediate" />
<CustomAction Id="RegisterPowerShellProperty" DllEntry="WixQuietExec64" Execute="deferred" Return="check" Impersonate="no" BinaryRef="Wix4UtilCA_X86" />
<CustomAction Id="RegisterPowerShellPropertyUninstall" DllEntry="WixQuietExec64" Execute="deferred" Return="check" Impersonate="no" BinaryRef="Wix4UtilCA_X86" />
I tried to build with "-ext WixUtilExtension.dll" but it said that it doesn't find the DLL.