X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/2c292c6ebb6156b2cae54fa7ce7f204c9693d8b3..af6838367a508c81c45f9f15686fd5874d359e60:/minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss index 544bd49..be9c052 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.1 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: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +;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}\start_win.exe" -Name: "{commondesktop}\MINWii"; Filename: "{app}\start_win.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}\start_win.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