summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-11-16 17:54:45 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-11-19 14:29:04 +0100
commita099cac5296d862b47f5881fc98c4a464a0afcb9 (patch)
tree8d1b699ce5a0b54b819927bbb463ca83eb87c89f
parent84eaba0a5da654a250f6615d3215ad0bd3de3d67 (diff)
Remove EXE_VERSION
This is only used when generating the oVirt installer as it does not want any version number to be included in the .exe filename provided on the ISO it ships. However, if someone was to ship a standalone .exe outside of an ISO, an unversioned installer executable is not what is expected. This commit removes EXE_VERSION, the installer executable will be "unversioned" at ISO time generation instead. Change-Id: Iaa3263aa7d26f39f073db058a6138728c09e12c4 Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
-rw-r--r--win-guest-tools.nsis5
1 files changed, 1 insertions, 4 deletions
diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index b234afa..8967790 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -61,13 +61,10 @@ SetCompressor /SOLID lzma
!ifndef DISPLAYED_VERSION
!define DISPLAYED_VERSION "${VERSION}"
!endif
-!ifndef EXE_VERSION
-!define EXE_VERSION "-${VERSION}"
-!endif
Name "${NAME}"
Caption "${NAME} Installer"
-OutFile "${FILENAME}${EXE_VERSION}.exe"
+OutFile "${FILENAME}-${VERSION}.exe"
InstallDir "$PROGRAMFILES\${NAME}"
BrandingText " "