|
| 1 | +#define MyAppName "LDOCE5 Viewer" |
| 2 | +#define MyAppVersion "2013.03.24" |
| 3 | +#define MyAppPublisher "hakidame.net" |
| 4 | +#define MyAppURL "http://hakidame.net/ldoce5viewer/" |
| 5 | +#define MyAppExeName "ldoce5viewer.exe" |
| 6 | + |
| 7 | + |
| 8 | +[Setup] |
| 9 | +AppId={{69AF89EB-727E-4F9E-ADCA-87102CBAC142} |
| 10 | +AppName={#MyAppName} |
| 11 | +AppVersion={#MyAppVersion} |
| 12 | +AppVerName={#MyAppName} {#MyAppVersion} |
| 13 | +AppPublisher={#MyAppPublisher} |
| 14 | +AppPublisherURL={#MyAppURL} |
| 15 | +AppSupportURL={#MyAppURL} |
| 16 | +AppUpdatesURL={#MyAppURL} |
| 17 | +DefaultDirName={pf32}\{#MyAppName} |
| 18 | +DefaultGroupName={#MyAppName} |
| 19 | +OutputDir=wininst |
| 20 | +OutputBaseFilename=ldoce5viewer-setup-{#MyAppVersion} |
| 21 | +Compression=lzma2 |
| 22 | +SolidCompression=yes |
| 23 | +UninstallDisplayIcon={app}\ldoce5viewer.exe |
| 24 | + |
| 25 | + |
| 26 | +[Languages] |
| 27 | +Name: "english"; MessagesFile: "compiler:Default.isl" |
| 28 | + |
| 29 | + |
| 30 | +[Tasks] |
| 31 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: |
| 32 | +Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 |
| 33 | + |
| 34 | + |
| 35 | +[Files] |
| 36 | +Source: "exedist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 37 | +Source: "msvcx90\*"; DestDir: "{app}\"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 38 | +Source: "msvcx90\*"; DestDir: "{app}\imageformats"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 39 | +Source: "msvcx90\*"; DestDir: "{app}\phonon_backend"; Flags: ignoreversion recursesubdirs createallsubdirs |
| 40 | + |
| 41 | + |
| 42 | +[Icons] |
| 43 | +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" |
| 44 | +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" |
| 45 | +Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon |
| 46 | +Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon |
| 47 | + |
| 48 | + |
| 49 | +[Run] |
| 50 | +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent |
| 51 | + |
| 52 | + |
| 53 | +[UninstallDelete] |
| 54 | +Type: filesandordirs; Name: "{userappdata}\LDOCE5Viewer\*"; |
| 55 | +Type: dirifempty; Name: "{userappdata}\LDOCE5Viewer"; |
| 56 | +Type: filesandordirs; Name: "{localappdata}\LDOCE5Viewer\*"; |
| 57 | +Type: dirifempty; Name: "{localappdata}\LDOCE5Viewer"; |
| 58 | + |
0 commit comments