Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
installer: Allow to use spaces in the application name
Browse files Browse the repository at this point in the history
This applies only to places where the application name is displayed. The
installation directory name still gets spaces replaced with dashes.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
  • Loading branch information
sschuberth committed Sep 25, 2014
1 parent 13c7c4e commit 6b7b59c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions installer/installer.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#define APP_NAME 'Git-SDK'
#define APP_VERSION GetEnv('APP_VERSION')
#define APP_NAME 'Git SDK'
#define APP_NAME_NO_SPACES StringChange(APP_NAME,' ','-')
#define APP_VERSION GetEnv('APP_VERSION')

#if APP_VERSION==''
#define APP_VERSION 'Snapshot'
Expand Down Expand Up @@ -40,7 +41,7 @@ AppName={#APP_NAME}
AppVersion={#APP_VERSION}
AppVerName={#APP_VER_NAME}
ChangesEnvironment=yes
DefaultDirName={sd}\{#APP_NAME}
DefaultDirName={sd}\{#APP_NAME_NO_SPACES}
DefaultGroupName={#APP_NAME}
DisableReadyPage=yes
InfoBeforeFile=installer\note.rtf
Expand Down

0 comments on commit 6b7b59c

Please sign in to comment.