Ajout du script Inno (résultat de l'assistant).
authorpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Thu, 27 May 2010 15:32:55 +0000 (15:32 +0000)
committerpin <pin@fe552daf-6dbe-4428-90eb-1537e0879342>
Thu, 27 May 2010 15:32:55 +0000 (15:32 +0000)
git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@197 fe552daf-6dbe-4428-90eb-1537e0879342

minwii_installer.iss [new file with mode: 0644]
setup_win_exe.py

diff --git a/minwii_installer.iss b/minwii_installer.iss
new file mode 100644 (file)
index 0000000..544bd49
--- /dev/null
@@ -0,0 +1,37 @@
+; Script generated by the Inno Setup Script Wizard.\r
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!\r
+\r
+[Setup]\r
+; NOTE: The value of AppId uniquely identifies this application.\r
+; Do not use the same AppId value in installers for other applications.\r
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)\r
+AppId={{40F63892-D0D9-4E45-B295-A76BC9AFBD63}\r
+AppName=MINWii\r
+AppVerName=MINWii 1.0\r
+AppPublisher=MINES-ParisTech\r
+DefaultDirName={pf}\MINWii\r
+DisableDirPage=yes\r
+DefaultGroupName=MINWii\r
+DisableProgramGroupPage=yes\r
+OutputBaseFilename=minwiisetup\r
+Compression=lzma\r
+SolidCompression=yes\r
+\r
+[Languages]\r
+Name: "french"; MessagesFile: "compiler:Languages\French.isl"\r
+\r
+[Tasks]\r
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked\r
+\r
+[Files]\r
+Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\start_win.exe"; DestDir: "{app}"; Flags: ignoreversion\r
+Source: "C:\Documents and Settings\Administrator\My Documents\dev\minwii\dist\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
+\r
+[Icons]\r
+Name: "{group}\MINWii"; Filename: "{app}\start_win.exe"\r
+Name: "{commondesktop}\MINWii"; Filename: "{app}\start_win.exe"; Tasks: desktopicon\r
+\r
+[Run]\r
+Filename: "{app}\start_win.exe"; Description: "{cm:LaunchProgram,MINWii}"; Flags: nowait postinstall skipifsilent\r
+\r
index e2d81c8..4c42bf5 100755 (executable)
@@ -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 = []