Fix installer.

* v0.5.0-alpha.4
* Create a directory in the start menu
* Install dir is now just "Diffuse"
* Set an icon for the uninstaller
This commit is contained in:
Romain Failliot 2016-08-18 13:28:01 -04:00
parent 6dc1dcda02
commit 67d801da79
1 changed files with 8 additions and 5 deletions

View File

@ -3,12 +3,13 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Diffuse Merge Tool" #define MyAppName "Diffuse Merge Tool"
#define MyAppVersion "0.5.0-alpha.3" #define MyAppGroupName "Diffuse"
#define MyAppVersion "0.5.0-alpha.4"
#define MyAppPublisher "Diffuse Team" #define MyAppPublisher "Diffuse Team"
#define MyAppURL "https://github.com/MightyCreak/diffuse/" #define MyAppURL "https://github.com/MightyCreak/diffuse/"
#define MyAppExeName "diffuse.exe" #define MyAppExeName "diffuse.exe"
#define SrcDir ".\build\exe.win-amd64-3.4\" #define SrcDir "build\exe.win-amd64-3.4\"
[Setup] [Setup]
; NOTE: The value of AppId uniquely identifies this application. ; NOTE: The value of AppId uniquely identifies this application.
@ -24,11 +25,13 @@ AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL} AppUpdatesURL={#MyAppURL}
ArchitecturesAllowed=x64 ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64 ArchitecturesInstallIn64BitMode=x64
DefaultDirName={pf}\{#MyAppName} DefaultDirName={pf}\{#MyAppGroupName}
DisableProgramGroupPage=yes DefaultGroupName={#MyAppGroupName}
;DisableProgramGroupPage=yes
OutputBaseFilename=setup-diffuse-{#MyAppVersion}-x64 OutputBaseFilename=setup-diffuse-{#MyAppVersion}-x64
Compression=lzma Compression=lzma
SolidCompression=yes SolidCompression=yes
UninstallDisplayIcon={app}\{#MyAppExeName}
[Languages] [Languages]
Name: "en"; MessagesFile: "compiler:Default.isl,.\en.isl" Name: "en"; MessagesFile: "compiler:Default.isl,.\en.isl"
@ -52,7 +55,7 @@ Source: "{#SrcDir}*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs crea
; NOTE: Don't use "Flags: ignoreversion" on any shared system files ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons] [Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run] [Run]