diff --git a/build.ps1 b/build.ps1
index 71990e9..126ff65 100644
--- a/build.ps1
+++ b/build.ps1
@@ -143,9 +143,10 @@ if (!(Test-Path $CAKE_EXE)) {
[System.Net.ServicePointManager]::SecurityProtocol = $previousSecurityProtocol
+$scpt="${PSScriptRoot}/${Script}"
# Build Cake arguments
-$cakeArguments = @("$Script");
+$cakeArguments = @("$scpt");
if ($Target) { $cakeArguments += "--target=$Target" }
if ($Configuration) { $cakeArguments += "--configuration=$Configuration" }
if ($Version) { $cakeArguments += "--version=$Version" }
@@ -157,6 +158,6 @@ if ($Pre) { $cakeArguments += "--pre=true" }
$cakeArguments += $ScriptArgs
# Start Cake
-Write-Host "Running build script..."
+Write-Host "Running build script for Scalus..."
&$CAKE_EXE $cakeArguments
exit $LASTEXITCODE
diff --git a/polaris.yml b/polaris.yml
index db3d174..7b88e39 100644
--- a/polaris.yml
+++ b/polaris.yml
@@ -8,9 +8,9 @@ project:
capture:
build:
cleanCommands:
- - shell: [powershell, ./build.ps1, "-Target clean"]
+ - shell: [powershell, "${project.projectDir}/build.ps1", "-Target clean"]
buildCommands:
- - shell: [powershell, ./build.ps1]
+ - shell: [powershell, "${project.projectDir}/build.ps1"]
fileSystem:
ears:
extensions: [ear]
diff --git a/scripts/Win/Product.wxs b/scripts/Win/Product.wxs
index 81e7261..8fd4941 100644
--- a/scripts/Win/Product.wxs
+++ b/scripts/Win/Product.wxs
@@ -3,14 +3,15 @@
-
+
-
-
+
+
NOT NEWERVERSIONDETECTED
+
@@ -65,15 +66,11 @@
-
-
-
-
-
+
diff --git a/src/CommandLineHandler.cs b/src/CommandLineHandler.cs
index 70887de..fb27d29 100644
--- a/src/CommandLineHandler.cs
+++ b/src/CommandLineHandler.cs
@@ -23,21 +23,22 @@ public CommandLineHandler(IEnumerable verbs)
public IApplication Build(string[] args, Func