From: benoit.pin Date: Wed, 1 Dec 2010 13:30:41 +0000 (+0000) Subject: L'installateur copie les chansons dans « Mes documents » au lieu de « Program Files ». X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/commitdiff_plain/97cefaf2d141852fd1a162362b09f933692a3124?ds=inline;hp=9845b232ab53ef98733306299e1a52afbabb4e70 L'installateur copie les chansons dans « Mes documents » au lieu de « Program Files ». git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@323 fe552daf-6dbe-4428-90eb-1537e0879342 --- 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