From d4579eceaf3befeab3083055743b0e837199cfee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pekka=20J=C3=A4rvinen?= Date: Wed, 15 Feb 2017 23:17:03 +0200 Subject: [PATCH] Use Wix arch parameter --- WinLLDPService/build/build.ps1 | 3 ++- WinLLDPService/build/installer.wxs | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/WinLLDPService/build/build.ps1 b/WinLLDPService/build/build.ps1 index 280f7ab..4c5e814 100644 --- a/WinLLDPService/build/build.ps1 +++ b/WinLLDPService/build/build.ps1 @@ -76,7 +76,7 @@ if([System.IO.File]::Exists("$output_installer_file")) { Write-Host "Running WiX candle.." $stdErrLog = "$pwd/candle-stderr.log" $stdOutLog = "$pwd/candle-stdout.log" -$process = Start-Process candle -Wait -PassThru -NoNewWindow -ArgumentList '-v -ext WiXNetFxExtension -ext WixUtilExtension installer.wxs' -RedirectStandardOutput $stdOutLog -RedirectStandardError $stdErrLog +$process = Start-Process candle -Wait -PassThru -NoNewWindow -ArgumentList "-v -ext WiXNetFxExtension -ext WixUtilExtension installer.wxs -arch $arch" -RedirectStandardOutput $stdOutLog -RedirectStandardError $stdErrLog if ($process.ExitCode -ne 0) { Write-Host "ERROR: running WiX candle failed." @@ -101,6 +101,7 @@ if($process.ExitCode -ne 0) { Get-Content $stdOutLog Get-Content $stdErrLog + Write-Host "Press any key to continue..." $null = [System.Console]::ReadKey() Exit 1 diff --git a/WinLLDPService/build/installer.wxs b/WinLLDPService/build/installer.wxs index 64006b5..e9d71e5 100644 --- a/WinLLDPService/build/installer.wxs +++ b/WinLLDPService/build/installer.wxs @@ -2,6 +2,15 @@ + + + + + + + + + @@ -35,7 +44,7 @@ WINPCAPMAJORVER AND 1 > WINPCAPMINORVER) ]]> - +