From 2c292c6ebb6156b2cae54fa7ce7f204c9693d8b3 Mon Sep 17 00:00:00 2001 From: pin Date: Thu, 27 May 2010 15:32:55 +0000 Subject: [PATCH] =?utf8?q?Ajout=20du=20script=20Inno=20(r=C3=A9sultat=20de?= =?utf8?q?=20l'assistant).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@197 fe552daf-6dbe-4428-90eb-1537e0879342 --- minwii_installer.iss | 37 +++++++++++++++++++++++++++++++++++++ setup_win_exe.py | 4 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 minwii_installer.iss diff --git a/minwii_installer.iss b/minwii_installer.iss new file mode 100644 index 0000000..544bd49 --- /dev/null +++ b/minwii_installer.iss @@ -0,0 +1,37 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. +; Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{40F63892-D0D9-4E45-B295-A76BC9AFBD63} +AppName=MINWii +AppVerName=MINWii 1.0 +AppPublisher=MINES-ParisTech +DefaultDirName={pf}\MINWii +DisableDirPage=yes +DefaultGroupName=MINWii +DisableProgramGroupPage=yes +OutputBaseFilename=minwiisetup +Compression=lzma +SolidCompression=yes + +[Languages] +Name: "french"; MessagesFile: "compiler:Languages\French.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\start_win.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\MINWii"; Filename: "{app}\start_win.exe" +Name: "{commondesktop}\MINWii"; Filename: "{app}\start_win.exe"; Tasks: desktopicon + +[Run] +Filename: "{app}\start_win.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent + diff --git a/setup_win_exe.py b/setup_win_exe.py index e2d81c8..4c42bf5 100755 --- a/setup_win_exe.py +++ b/setup_win_exe.py @@ -121,8 +121,8 @@ class BuildExe: self.icon_file = None #Extra files/dirs copied to game - self.data_files = [('minwii/fonts', - glob.glob('src/minwii/fonts/*.ttf'))] + #self.data_files = [('minwii/fonts', + # glob.glob('src/minwii/fonts/*.ttf'))] #Extra/excludes python modules self.extra_modules = [] -- 2.20.1