X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/a10479e7e060f1294ecc685cf1106da1c6bb84e3..1ba1c6642bcd08f1fde82e6b0d99927346df752b:/minwii_installer.iss?ds=sidebyside

diff --git a/minwii_installer.iss b/minwii_installer.iss
index 422f5c8..26feec8 100644
--- a/minwii_installer.iss
+++ b/minwii_installer.iss
@@ -24,23 +24,27 @@ Name: "french"; MessagesFile: "compiler:Languages\French.isl"
 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
 
 [Files]
-;Source: "dist\minwii_fullscreen.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}\.exe"
-Name: "{commondesktop}\MINWii"; Filename: "{app}\minwii_fullscreen.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}\minwii_fullscreen.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: "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