X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/a697b3d25f51aa781aa3f08762efba3395f26c26..ddff8abaaa8a1a47062458ca7835624b11e93333:/minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss index 7f7507b..c0160eb 100644 --- a/minwii_installer.iss +++ b/minwii_installer.iss @@ -29,8 +29,8 @@ Source: "dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createal 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" +Source: "chansons\*.xml"; DestDir: "{userdocs}\minwii\chansons" +Source: "chansons\*.mscz"; DestDir: "{userdocs}\minwii\chansons" ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons] @@ -45,7 +45,7 @@ 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: "SONG_FILE_PATH"; String: "{userdocs}\minwii\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