Fix InnoSetup x86 build

This commit is contained in:
redtide 2020-02-28 15:29:31 +01:00
parent 6998f3ef8b
commit bf710f9f9c
2 changed files with 15 additions and 7 deletions

View file

@ -33,7 +33,6 @@ after_build:
- cmd: 7z a sfizz-lv2-%APPVEYOR_REPO_TAG_NAME%-%RELEASE_ARCH%-msvc.zip sfizz.lv2
- cmd: 7z a sfizz-lib-%APPVEYOR_REPO_TAG_NAME%-%RELEASE_ARCH%-msvc.zip src/Release/sfizz*
- cmd: iscc.exe /dARCH=%RELEASE_ARCH% ./../innosetup.iss
- cmd: mv ./../Output/sfizz-lv2-setup.exe sfizz-lv2-%APPVEYOR_REPO_TAG_NAME%-%RELEASE_ARCH%-msvc-setup.exe
artifacts:
- name: Packages

View file

@ -1,7 +1,11 @@
#define MyAppName "sfizz-lv2"
#define MyAppVersion "0.3.0"
#define MyAppName "sfizz-lv2"
#define MyAppVersion "0.3.0"
#define MyAppPublisher "sfizz Team"
#define MyAppURL "https://sfztools.github.io/sfizz/"
#define MyAppURL "https://sfztools.github.io/sfizz/"
#ifndef Arch
#define Arch "x64"
#endif
[Setup]
AlwaysShowDirOnReadyPage=yes
@ -16,15 +20,20 @@ AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
;AppVerName={#MyAppName} {#MyAppVersion}
AppVersion={#MyAppVersion}
ArchitecturesAllowed=x86 x64
ArchitecturesInstallIn64BitMode=x64
#if Arch=="x64"
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode={#Arch}
#endif
Compression=lzma
SolidCompression=yes
DefaultDirName={commoncf}\LV2
DefaultGroupName={#MyAppPublisher}
DisableDirPage=yes
LicenseFile=CMakeBuild\sfizz.lv2\LICENSE.md
OutputBaseFilename={#MyAppName}-setup
OutputBaseFileName={#MyAppName}-{#MyAppVersion}-{#Arch}-msvc-setup
OutputDir=CMakeBuild
UninstallFilesDir={commonpf}\{#MyAppName}
WizardImageFile="C:\Program Files (x86)\Inno Setup 6\WizModernImage-IS.bmp"
WizardSmallImageFile="C:\Program Files (x86)\Inno Setup 6\WizModernSmallImage-IS.bmp"