X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/5e9b5322bc4788295c2ff6584f8190e1cff4c2e7..5d66b726833bfdce82121a8524cc4e2fcc9ba493:/minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss index 8a5b87e..4b2fe56 100644 --- a/minwii_installer.iss +++ b/minwii_installer.iss @@ -24,14 +24,27 @@ 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: "{app}\chansons" +Source: "chansons\*.mscz"; DestDir: "{app}\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}\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: "{app}\chansons"; Flags: createkeyifdoesntexist +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SOUND_FONT"; String: "{app}\minwii\soundfonts\FluidR3_GM.sf2"; Flags: createkeyifdoesntexist +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist