diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-11-03 02:50:46 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2020-11-03 02:50:46 +0300 |
commit | 9d2a864c195ed35e0f6fa1f84ab7987fa5e1b380 (patch) | |
tree | 79188aa9f4177f5d95a5cd1ebae46b7196ef4f5c | |
parent | 3c0a41a049cac63aab2ed7b5a0c7d53813c6876d (diff) |
Update CreateRelease.WPF.ps1v1.1.2
-rw-r--r-- | CreateRelease.WPF.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
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) |