MINWii s'appelle MINDs désormais.
[minwii.git] / minwii_installer.iss
1 ; Script generated by the Inno Setup Script Wizard.
2 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3
4 [Setup]
5 ; NOTE: The value of AppId uniquely identifies this application.
6 ; Do not use the same AppId value in installers for other applications.
7 ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
8 AppId={{40F63892-D0D9-4E45-B295-A76BC9AFBD63}
9 AppName=MINWii
10 AppVerName=MINWii 2.0.1
11 AppPublisher=MINES-ParisTech
12 DefaultDirName={pf}\MINWii
13 DisableDirPage=yes
14 DefaultGroupName=MINWii
15 DisableProgramGroupPage=yes
16 OutputBaseFilename=minwiisetup
17 Compression=lzma
18 SolidCompression=yes
19
20 [Languages]
21 Name: "french"; MessagesFile: "compiler:Languages\French.isl"
22
23 [Tasks]
24 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
25
26 [Files]
27 ;Source: "dist\runminwii.exe"; DestDir: "{app}"; Flags: ignoreversion
28 Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
29 Source: "win32\*.dll"; DestDir: "{sys}"; Flags: 32bit
30 Source: "win32\vcredist_x86.exe"; DestDir: "{app}"; Flags: deleteafterinstall
31
32 Source: "chansons\*.xml"; DestDir: "{userdocs}\minwii\chansons"
33 Source: "chansons\*.mscz"; DestDir: "{userdocs}\minwii\chansons"
34 Source: "chansons\*.jpg"; DestDir: "{userdocs}\minwii\chansons"
35
36 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
37
38 [Icons]
39 Name: "{group}\MINWii"; Filename: "{app}\runminwii.exe"
40 Name: "{group}\MINWii (mode fenêtre)"; Filename: "{app}\runminwii.exe"; Parameters: "--no-fullscreen"
41 Name: "{group}\MINWii analyseur"; Filename: "{app}\logapp.exe"
42 Name: "{group}\Désinstaller MINWii"; Filename: "{uninstallexe}"
43 Name: "{commondesktop}\MINWii"; Filename: "{app}\runminwii.exe"; Tasks: desktopicon
44
45 [Run]
46 Filename: "{app}\vcredist_x86.exe"; Parameters: "/qb!"
47 Filename: "{app}\runminwii.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent
48
49 [INI]
50 Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SONG_FILE_PATH"; String: "{userdocs}\minwii\chansons"; Flags: createkeyifdoesntexist
51 Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SOUND_FONT"; String: "{app}\minwii\soundfonts\Minwii-light-soundfont.sf2"; Flags: createkeyifdoesntexist
52 Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist
53