Return path to built package in Start-PSBuild

For Windows only right now.
This commit is contained in:
Andy Schwartzmeyer
2016-05-24 14:46:40 -07:00
parent b4ed5e2534
commit 691618d335
+3 -3
View File
@@ -433,8 +433,7 @@ Built upon .NET Core, it is also a C# REPL.
Write-Verbose "Packaging $Source"
if ($IsWindows) {
Create-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
return
return Create-MSIPackage -ProductSourcePath $Source -ProductVersion $Version -Verbose
}
if (-not (Get-Command "fpm" -ErrorAction SilentlyContinue)) {
@@ -1009,8 +1008,9 @@ function Create-MSIPackage
& $wixCandleExePath "$ProductWxsPath" "$wixFragmentPath" -out (Join-Path "$env:Temp" "\\") -arch x64 -v
& $wixLightExePath -out "$productVersionWithName.msi" $wixObjProductPath $wixObjFragmentPath -ext WixUIExtension -v
Write-Verbose "You can find the MSI @ $msiLocationPath"
del *.wixpdb -Force
Write-Verbose "You can find the MSI @ $msiLocationPath"
return $msiLocationPath
}