PythoncadWishTraker item #2907452, was opened at 2009-12-02 13:49
Message generated for change (Comment added) made by matteoboscolo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907452&group_id=263167

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Improvements
>Group: R38
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: yndesai (yndesai)
Assigned to: Matteo Boscolo (matteoboscolo)
Summary: Windows installer for PythonCAD

Initial Comment:
I wish if someone can compile an .msi (windows installer) for pythoncad 
which also installs related python & gtk components for windows users are 
too dumb to do that. If they find an windows installer already hosted
we can get more users tryin pythoncad

----------------------------------------------------------------------

>Comment By: Matteo Boscolo (matteoboscolo)
Date: 2010-10-24 08:22

Message:
Now we get the setup installer for windows made with inno setup
Regards,
Matteo


----------------------------------------------------------------------

Comment By: Matteo Boscolo (matteoboscolo)
Date: 2010-07-11 09:25

Message:
now we get a .exe file for R38
We do not need to install qt or python for a windows platform
as soon we have a stable release we will do a setup program (that it's
easy)

----------------------------------------------------------------------

Comment By: Matteo Boscolo (matteoboscolo)
Date: 2010-02-02 11:06

Message:
We get an error using the installre 
It not load the gtpycad.png file


----------------------------------------------------------------------

Comment By: Matteo Boscolo (matteoboscolo)
Date: 2010-02-01 16:08

Message:
we have create a new installation setupusig py2exe end inno setup
the setup procedure is 

1) setup.py
from distutils.core import setup
import py2exe
import glob

opts = {
    "py2exe": {
        "includes": "cairo, pango, pangocairo, atk, gobject, gio",
        #"dll_excludes": [
        #"iconv.dll","intl.dll","libatk-1.0-0.dll",
        #"libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll",
        #"libglib-2.0-0.dll","libgmodule-2.0-0.dll",
        #"libgobject-2.0-0.dll","libgthread-2.0-0.dll",
        #"libgtk-win32-2.0-0.dll","libpango-1.0-0.dll",
        #"libpangowin32-1.0-0.dll"],
        }
    }

setup(
    name = "PythonCAD",
    description = "CAD built from Python",
    version = "0.1.37",
    author="Art Haas,Matteo Boscolo",
    url="http://www.pythoncad.org/";,
    license="GPL",
    windows = [
        {"script": "gtkpycad.py",
        "icon_resources": [(1, "gtkpycad.ico")]
        }
    ],
    options=opts,
    data_files=[
                   'gtkpycad.png',
               ]
)

2)python setup.py py2win
3) copy etc-lib-shere from gtk installation
4) use this inno setup for building the setup pakage (adgust the path in
the script)

; 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={{F4FB95EA-37A1-4D38-9C01-BF6EF99AF4C8}
AppName=PythonCad
AppVerName=Pythoncad R37
AppPublisher=PythonCad
AppPublisherURL=http://www.sourceforge.net/projects/pythoncad
AppSupportURL=http://www.sourceforge.net/projects/pythoncad
AppUpdatesURL=http://www.sourceforge.net/projects/pythoncad
DefaultDirName={pf}\PythonCad
DefaultGroupName=PythonCad
AllowNoIcons=yes
OutputBaseFilename=PythoCadSetup
SetupIconFile=E:\Matteo\personale\programming\python\git\pythoncad\dist\gtkpycad.ico
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}";
GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}";
GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "E:\Matteo\personale\programming\python\git\pythoncad\dist\*";
DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\PythonCad"; Filename: "{app}\gtkpycad.exe" ;WorkingDir:
"{app}";IconFilename: "{app}\gtkpycad.ico"
Name: "{group}\{cm:ProgramOnTheWeb,PythonCad}"; Filename:
"http://www.sourceforge.net/projects/pythoncad";WorkingDir: "{app}" 
;IconFilename: "{app}\gtkpycad.ico"
Name: "{commondesktop}\PythonCad"; Filename: "{app}\gtkpycad.exe"; Tasks:
desktopicon ;WorkingDir: "{app}"      ;IconFilename: "{app}\gtkpycad.ico"
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\PythonCad";
Filename: "{app}\gtkpycad.exe"; Tasks: quicklaunchicon;WorkingDir: "{app}" 
 ;IconFilename: "{app}\gtkpycad.ico"

[Run]
Filename: "{app}\gtkpycad.exe"; Description:
"{cm:LaunchProgram,PythonCad}"; Flags: nowait postinstall skipifsilent



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1334597&aid=2907452&group_id=263167

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Pythoncad-developer mailing list
Pythoncad-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pythoncad-developer

Reply via email to