From 9d2a864c195ed35e0f6fa1f84ab7987fa5e1b380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Mon, 2 Nov 2020 23:50:46 +0000 Subject: Update CreateRelease.WPF.ps1 --- CreateRelease.WPF.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CreateRelease.WPF.ps1 b/CreateRelease.WPF.ps1 index 86e6210..788a3a3 100644 --- a/CreateRelease.WPF.ps1 +++ b/CreateRelease.WPF.ps1 @@ -55,7 +55,6 @@ if([string]::IsNullOrWhiteSpace($version)){ # MSI Variables $installers = @("UVtools.InstallerMM", "UVtools.Installer") $msiSourceFile = "$PSScriptRoot\UVtools.Installer\bin\Release\UVtools.msi" -$msiTargetFile = "$publishFolder\${software}_${runtime}_v$version.msi" $msbuild = "`"${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe`" /t:Build /p:Configuration=$buildWith /p:MSIProductVersion=$version" Write-Output " @@ -147,6 +146,7 @@ $stopWatch.Stop() # MSI Installer for Windows $deployStopWatch.Restart() $runtime = 'win-x64' +$msiTargetFile = "$publishFolder\${software}_${runtime}_v$version.msi" Write-Output "################################ Building: $runtime MSI Installer" @@ -158,6 +158,7 @@ foreach($installer in $installers) iex "& $msbuild $installer\$installer.wixproj" } +Write-Output "Coping $runtime MSI to: $msiTargetFile" Copy-Item $msiSourceFile $msiTargetFile Write-Output "Took: $($deployStopWatch.Elapsed) -- cgit v1.2.3