X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/b8f9f9c9575f2932e2e2ea4a3238b739f47acf33..4c712833ba713de5b3546ca1331658e8130714de:/minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss index 280fdf3..977102e 100644 --- a/minwii_installer.iss +++ b/minwii_installer.iss @@ -7,7 +7,7 @@ ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{40F63892-D0D9-4E45-B295-A76BC9AFBD63} AppName=MINWii -AppVerName=MINWii 1.0 +AppVerName=MINWii 2.0.0 AppPublisher=MINES-ParisTech DefaultDirName={pf}\MINWii DisableDirPage=yes @@ -24,14 +24,30 @@ Name: "french"; MessagesFile: "compiler:Languages\French.isl" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked [Files] -;Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\start_win.exe"; DestDir: "{app}"; Flags: ignoreversion +;Source: "dist\runminwii.exe"; DestDir: "{app}"; Flags: ignoreversion Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "win32\*.dll"; DestDir: "{sys}"; Flags: 32bit +Source: "win32\vcredist_x86.exe"; DestDir: "{app}"; Flags: deleteafterinstall + +Source: "chansons\*.xml"; DestDir: "{userdocs}\minwii\chansons" +Source: "chansons\*.mscz"; DestDir: "{userdocs}\minwii\chansons" +Source: "chansons\*.jpg"; DestDir: "{userdocs}\minwii\chansons" + ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] -Name: "{group}\MINWii"; Filename: "{app}\.exe" -Name: "{commondesktop}\MINWii"; Filename: "{app}\minwii_fullscreen.exe"; Tasks: desktopicon +Name: "{group}\MINWii"; Filename: "{app}\runminwii.exe" +Name: "{group}\MINWii (mode fenĂȘtre)"; Filename: "{app}\runminwii.exe"; Parameters: "--no-fullscreen" +Name: "{group}\MINWii analyseur"; Filename: "{app}\logapp.exe" +Name: "{group}\DĂ©sinstaller MINWii"; Filename: "{uninstallexe}" +Name: "{commondesktop}\MINWii"; Filename: "{app}\runminwii.exe"; Tasks: desktopicon [Run] -Filename: "{app}\minwii_fullscreen.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent +Filename: "{app}\vcredist_x86.exe"; Parameters: "/qb!" +Filename: "{app}\runminwii.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent + +[INI] +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SONG_FILE_PATH"; String: "{userdocs}\minwii\chansons"; Flags: createkeyifdoesntexist +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SOUND_FONT"; String: "{app}\minwii\soundfonts\Minwii-light-soundfont.sf2"; Flags: createkeyifdoesntexist +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist