Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked\r
\r
[Files]\r
-;Source: "dist\minwii_fullscreen.exe"; DestDir: "{app}"; Flags: ignoreversion\r
+;Source: "dist\runminwii.exe"; DestDir: "{app}"; Flags: ignoreversion\r
Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs\r
Source: "win32\*.dll"; DestDir: "{sys}"; Flags: 32bit\r
+Source: "win32\vcredist_x86.exe"; DestDir: "{app}"; Flags: deleteafterinstall\r
\r
Source: "chansons\*.xml"; DestDir: "{app}\chansons"\r
Source: "chansons\*.mscz"; DestDir: "{app}\chansons"\r
; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
\r
[Icons]\r
-Name: "{group}\MINWii"; Filename: "{app}\.exe"\r
-Name: "{commondesktop}\MINWii"; Filename: "{app}\minwii_fullscreen.exe"; Tasks: desktopicon\r
+Name: "{group}\MINWii"; Filename: "{app}\runminwii.exe"\r
+Name: "{group}\MINWii (mode fenêtre)"; Filename: "{app}\runminwii.exe"; Parameters: "--no-fullscreen"\r
+Name: "{group}\Désinstaller MINWii"; Filename: "{uninstallexe}"\r
+Name: "{commondesktop}\MINWii"; Filename: "{app}\runminwii.exe"; Tasks: desktopicon\r
\r
[Run]\r
-Filename: "{app}\minwii_fullscreen.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent\r
+Filename: "{app}\vcredist_x86.exe"; Parameters: "/qb!"\r
+Filename: "{app}\runminwii.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent\r
\r
[INI]\r
-Filename: "{app}\minwii.ini"; Section: "locations"; Key: "songspath"; String: "{app}\chansons"; Flags: createkeyifdoesntexist\r
-Filename: "{app}\minwii.ini"; Section: "locations"; Key: "soundfont"; String: "{app}\soundfonts\FluidR3_GM.sf2"; Flags: createkeyifdoesntexist\r
-Filename: "{app}\minwii.ini"; Section: "locations"; Key: "logfiles"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist\r
+Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SONG_FILE_PATH"; String: "{app}\chansons"; Flags: createkeyifdoesntexist\r
+Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SOUND_FONT"; String: "{app}\minwii\soundfonts\Minwii-light-soundfont.sf2"; Flags: createkeyifdoesntexist\r
+Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist\r
\r