X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/blobdiff_plain/11b74e9ace40c2fc4802aa1f02c652923b4b9d9e..b74c502c2e7a61b4be764eefe6809714b37dad07:/minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss index 6b170be..26feec8 100644 --- a/minwii_installer.iss +++ b/minwii_installer.iss @@ -27,6 +27,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{ ;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" @@ -35,13 +36,15 @@ Source: "chansons\*.mscz"; DestDir: "{app}\chansons" [Icons] 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}\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: "songspath"; String: "{app}\chansons"; Flags: createkeyifdoesntexist -Filename: "{app}\minwii.ini"; Section: "locations"; Key: "soundfont"; String: "{app}\soundfonts\FluidR3_GM.sf2"; Flags: createkeyifdoesntexist -Filename: "{app}\minwii.ini"; Section: "locations"; Key: "logfiles"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist +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\Minwii-light-soundfont.sf2"; Flags: createkeyifdoesntexist +Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist