2015-12-25 14:41:39 +01:00
|
|
|
param (
|
|
|
|
[Parameter(Position = 1)]
|
2016-01-26 19:48:09 +01:00
|
|
|
[string]$VersionExtra = ""
|
2015-12-25 14:41:39 +01:00
|
|
|
)
|
|
|
|
|
2015-06-16 16:12:40 +02:00
|
|
|
$path = Split-Path $Script:MyInvocation.MyCommand.Path
|
2015-12-23 18:22:08 +01:00
|
|
|
Write-Host "Building Windows Installer (NSIS script)";
|
2016-01-26 19:48:09 +01:00
|
|
|
Write-Host " $VersionExtra";
|
2016-04-14 18:57:33 +02:00
|
|
|
makensis /DAPPV_EXTRA=$VersionExtra `
|
2016-01-26 19:48:09 +01:00
|
|
|
/DVERSION_INCLUDE=$path\win32.txt `
|
|
|
|
$path\install.nsi > $path\win32.log;
|