From: pin Date: Fri, 28 May 2010 14:42:55 +0000 (+0000) Subject: qq mises au point de l'installateur. X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/commitdiff_plain/11b74e9ace40c2fc4802aa1f02c652923b4b9d9e qq mises au point de l'installateur. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@212 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/minwii_installer.iss b/minwii_installer.iss index 422f5c8..6b170be 100644 --- a/minwii_installer.iss +++ b/minwii_installer.iss @@ -24,7 +24,7 @@ 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 @@ -33,11 +33,12 @@ 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: "{commondesktop}\MINWii"; Filename: "{app}\runminwii.exe"; Tasks: desktopicon [Run] -Filename: "{app}\minwii_fullscreen.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent +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 diff --git a/setup_win_exe.py b/setup_win_exe.py index 86702fc..1fa44dd 100755 --- a/setup_win_exe.py +++ b/setup_win_exe.py @@ -85,7 +85,7 @@ class MinWii2exe(py2exe.build_exe.py2exe) : class BuildExe: def __init__(self): #Name of starting .py - self.script = "src/minwii/minwii_fullscreen.py" + self.script = "src/minwii/runminwii.py" #Name of program self.project_name = "MINWii"