Permalink
Browse files

First installer for the external version

  • Loading branch information...
1 parent c713850 commit 8d0041136b0b692ebbaa31d60cfbfb5039600af9 schnellf committed Aug 28, 2007
Showing with 128 additions and 0 deletions.
  1. +23 −0 setupEX.py
  2. +105 −0 win-installer/installeurEX.iss
View
@@ -0,0 +1,23 @@
+################################################################################
+# This is the py2exe setup file to create an .exe build
+# for audiovideocours external version projects.
+#
+# Usage: python setupEX.py py2exe
+################################################################################
+
+from distutils.core import setup
+import py2exe
+
+
+setup(windows=['mediacoursEX.py'],
+options = {
+"py2exe": {
+"packages": [ "pywinauto",
+"pywinauto.controls", "pywinauto.tests"],
+
+ }
+ }
+ )
+
+
+
@@ -0,0 +1,105 @@
+; Install file for audiovideocours (mediacours.py)
+; (C) ULP Multimedia (University Louis-Pasteur)
+; Developer : francois schnell
+
+
+[Setup]
+AppName=audiovideocours
+AppId=audiovideocours
+AppVerName=audiovideocours EX external
+AppVersion=0.90
+AppPublisher=(C) ULP Multimedia 2007
+AppPublisherURL=http://audiovideocours.u-strasbg.fr/
+AppSupportURL=http://audiovideocours.u-strasbg.fr/
+AppUpdatesURL=http://audiovideocours.u-strasbg.fr/
+DefaultDirName={pf}\AudioCours
+DefaultGroupName=AudioCours
+LicenseFile=..\readme.txt
+OutputDir=OutputEX
+;PrivilegesRequired=admin
+;AppendDefaultDirName=false
+
+[Dirs]
+Name: {app}\pywinauto
+Name: {app}\locale
+Name: {app}\images
+Name: {app}\locale\fr
+Name: {app}\locale\fr\LC_MESSAGES
+
+[Files]
+;Source: ..\MediaCoursEX.conf; DestDir:{%USERPROFILE}
+Source: ..\videolog.py; DestDir:{app}
+Source: ..\MediaCoursExt.conf; DestDir:{app}
+Source: ..\images\audiocours1.ico; DestDir:{app}\images
+Source: ..\images\audiocours2.ico; DestDir:{app}\images
+Source: ..\images\videocours1.ico; DestDir:{app}\images
+Source: ..\images\videocours2.ico; DestDir:{app}\images
+Source: ..\images\ban1.jpg; DestDir:{app}\images
+Source: ..\readme.txt; DestDir:{app}
+;Source: ..\changelog.txt; DestDir:{app}
+Source: ..\AudioVideoCours.url; DestDir:{app}
+
+; Import files from py2exe build
+Source: ..\dist\_controls_.pyd; DestDir:{app}
+Source: ..\dist\_core_.pyd; DestDir:{app}
+;Source: ..\dist\_cpyHook.pyd; DestDir:{app}
+Source: ..\dist\_ctypes.pyd; DestDir:{app}
+Source: ..\dist\_gdi_.pyd; DestDir:{app}
+Source: ..\dist\_imaging.pyd; DestDir:{app}
+Source: ..\dist\_imagingft.pyd; DestDir:{app}
+Source: ..\dist\_misc_.pyd; DestDir:{app}
+Source: ..\dist\_sendkeys.pyd; DestDir:{app}
+Source: ..\dist\_socket.pyd; DestDir:{app}
+Source: ..\dist\_ssl.pyd; DestDir:{app}
+Source: ..\dist\_win32sysloader.pyd; DestDir:{app}
+Source: ..\dist\_windows_.pyd; DestDir:{app}
+Source: ..\dist\acodec.pyd; DestDir:{app}
+Source: ..\dist\bz2.pyd; DestDir:{app}
+Source: ..\dist\cd.pyd; DestDir:{app}
+Source: ..\dist\library.zip; DestDir:{app}
+Source: ..\dist\mediacoursEX.exe; DestDir:{app}
+Source: ..\dist\MSVCR71.dll; DestDir:{app}
+Source: ..\dist\muxer.pyd; DestDir:{app}
+Source: ..\dist\pyexpat.pyd; DestDir:{app}
+Source: ..\dist\python24.dll; DestDir:{app}
+Source: ..\dist\pythoncom24.dll; DestDir:{app}
+Source: ..\dist\pywintypes24.dll; DestDir:{app}
+Source: ..\dist\select.pyd; DestDir:{app}
+Source: ..\dist\sound.pyd; DestDir:{app}
+Source: ..\dist\unicodedata.pyd; DestDir:{app}
+Source: ..\dist\vcodec.pyd; DestDir:{app}
+Source: ..\dist\vidcap.dll; DestDir:{app}
+Source: ..\dist\w9xpopen.exe; DestDir:{app}
+Source: ..\dist\win32event.pyd; DestDir:{app}
+Source: ..\dist\win32file.pyd; DestDir:{app}
+Source: ..\dist\wxmsw26h_vc.dll; DestDir:{app}
+Source: ..\dist\zlib.pyd; DestDir:{app}
+
+; Translations
+Source: ..\mediacours.pot; DestDir:{app}
+Source: ..\locale\fr\LC_MESSAGES\mediacours.mo; DestDir:{app}\locale\fr\LC_MESSAGES
+Source: ..\locale\fr\LC_MESSAGES\mediacours.po; DestDir:{app}\locale\fr\LC_MESSAGES
+
+[Run]
+
+[Languages]
+Name: Francais; MessagesFile: compiler:Languages\French.isl
+Name: Anglais; MessagesFile: compiler:Default.isl
+Name: Allemand; MessagesFile: compiler:Languages\German.isl
+
+[Icons]
+Name: {group}\AudioCours; Filename: {app}\mediacoursEX.exe; WorkingDir: {app}; IconFilename: {app}\audiocours2.ico
+Name: {commondesktop}\AudioCours; Filename: {app}\mediacoursEX.exe; WorkingDir: {app}; IconFilename: {app}\audiocours1.ico
+;Name: {group}\Dossier Cours; Filename: {app}\Cours\local\Media
+Name: {group}\Site web audiovideocours; Filename: {app}\AudioVideoCours.url; WorkingDir: {app}
+Name: {group}\Desinstaller AudioVideoCours; Filename: {uninstallexe}; IconFilename: {app}\unins000.exe; WorkingDir: {app}
+
+[Registry]
+
+[InstallDelete]
+Name: {tmp}; Type: filesandordirs
+
+[UninstallDelete]
+
+[Code]
+

0 comments on commit 8d00411

Please sign in to comment.