Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked\r
\r
[Files]\r
-;Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\start_win.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}\start_win.exe"\r
-Name: "{commondesktop}\MINWii"; Filename: "{app}\start_win.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}\start_win.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: "SONG_FILE_PATH"; String: "{app}\chansons"; Flags: createkeyifdoesntexist\r
+Filename: "{app}\minwii.ini"; Section: "locations"; Key: "SOUND_FONT"; String: "{app}\minwii\soundfonts\FluidR3_GM.sf2"; Flags: createkeyifdoesntexist\r
+Filename: "{app}\minwii.ini"; Section: "locations"; Key: "LOGS_DIR"; String: "{userdocs}\minwii_logs"; Flags: createkeyifdoesntexist\r
\r