Make the build output the WiX compilation log if it failed. (#4831)
Make the build output the WiX compilation log if it failed. (#4831)

* Make the build output the WiX compilation log if it failed.
Before it was not outputting it not at all because the build output is an array that was piped directly to 'Write-Verbose' instead of converting it to a string using 'Out-String'
Because the WiX log is usually quite verbose (around 250 lines), the log is only shown if there must have been a compilation error due to the missing MSI

* PR 4831: Use -Verbose option on Write-Verbose to force output in build as suggested in review.

PaulHigin/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1