From f355288057e94f3335a7116b56529f4a4a6af2a8 Mon Sep 17 00:00:00 2001 From: Nathan Osman Date: Sat, 21 Mar 2015 00:27:09 -0700 Subject: [PATCH] Fixed directive in InnoSetup script. --- dist/setup.iss.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup.iss.in b/dist/setup.iss.in index 339a277b..fb78ffe9 100644 --- a/dist/setup.iss.in +++ b/dist/setup.iss.in @@ -39,7 +39,7 @@ Name: \"desktopicon\"; Description: \"{cm:CreateDesktopIcon}\"; GroupDescription Source: \"$$absolute_path($${DESTDIR})\\*\"; DestDir: \"{app}\"; Excludes: \"\\vcredist_x??.exe\"; Flags: ignoreversion recursesubdirs createallsubdirs ; Include the VC++ runtime in the installer -#if VCRArch +#ifdef VCRArch Source: \"{#VCRFilename(VCRArch)}\"; DestDir: \"{tmp}\"; Flags: deleteafterinstall #endif @@ -51,7 +51,7 @@ Name: \"{commondesktop}\\$${PROJECT_TITLE}\"; Filename: \"{app}\\$${EXE_FILENAME Filename: \"{app}\\$${PROJECT_TITLE}\"; Description: \"{cm:LaunchProgram,{#StringChange(\"$${PROJECT_TITLE}\", \'&\', \'&&\')}}\"; Flags: nowait postinstall skipifsilent ; Install the VC++ runtime (silently) -#if VCRArch +#ifdef VCRArch Filename: \"{tmp}\\vcredist_{#VCRArch}.exe\"; Parameters: \"/q\"; #endif