About the Wise installer on Windows
Hi, Again forgive me if the answer is somewhere, but I could not find it. I am looking for a way to build and make an installer out of Python on a Win x86_64 platform which is not supported yet by the Python team. My plan is to compile Python for this platform (several developers on the list told me it should be straightforward), and make an installer out of the Python binaries in order to be able to distribute the Python binaries internally. I downloaded the evaluation copy of Wise Installer System 9, but it complains that the installer file (which I assume is PCBuild\Python20.wse) is corrupted. I need to establish exactly the version of the installer to use, if we need to acquire a license for the Wise installer. - Could someone give me some pointer about the exact version of the Wise Installer to use in order to be able to replicate the same installer that the Python team is distributing on Windows? - The ISS files (Inno) do not seem up to date. Is anybody having a ISS version of the installer which works for 2.3.4? Thanks, alex.
Alexandre Parenteau <aparente@adobe.com> writes:
Hi,
Again forgive me if the answer is somewhere, but I could not find it.
I am looking for a way to build and make an installer out of Python on a Win x86_64 platform which is not supported yet by the Python team.
My plan is to compile Python for this platform (several developers on the list told me it should be straightforward), and make an installer out of the Python binaries in order to be able to distribute the Python binaries internally.
I downloaded the evaluation copy of Wise Installer System 9, but it complains that the installer file (which I assume is PCBuild\Python20.wse) is corrupted.
I need to establish exactly the version of the installer to use, if we need to acquire a license for the Wise installer.
Wise Installation System 9.0 - standard edition is what is used to build the Python 2.3 installers. The problem that you see has the usual cause - the PCBuild\Python20.wse file in the Python-2.3.4.tgz file, downloaded from Python.org, has unix line endings instead of dos line endings. You should convert them (loading the file into write, and saving it again) and it should load fine. Thomas
Alexandre Parenteau wrote:
I am looking for a way to build and make an installer out of Python on a Win x86_64 platform which is not supported yet by the Python team.
Out of curiosity: where did you obtain the operating system, and where will you obtain a C compiler for the platform? To my knowledge, Microsoft has released neither, yet.
My plan is to compile Python for this platform (several developers on the list told me it should be straightforward), and make an installer out of the Python binaries in order to be able to distribute the Python binaries internally.
I downloaded the evaluation copy of Wise Installer System 9, but it complains that the installer file (which I assume is PCBuild\Python20.wse) is corrupted.
Alternatively to that approach, you can use the Python 2.4 code base, and build an MSI file (using Tools/msi); no need for any external tool except for a platform SDK installation, and PythonWin. Regards, Martin
On Oct 13, 2004, at 3:15 PM, Martin v. Löwis wrote:
Alexandre Parenteau wrote:
I am looking for a way to build and make an installer out of Python on a Win x86_64 platform which is not supported yet by the Python team.
Out of curiosity: where did you obtain the operating system, and where will you obtain a C compiler for the platform? To my knowledge, Microsoft has released neither, yet.
Microsoft made available an OS to the general public (2003 Pro, I think) for x86_64 at *least* 6 months ago, maybe more, and MSDN members have access to other OS builds as well (at least 2003 server). You have at least 2 compiler options, namely MSVC++ and GCC. ICL does not (yet) support x64_64. -- Nick
Nick Bastin wrote:
Microsoft made available an OS to the general public (2003 Pro, I think) for x86_64 at *least* 6 months ago, maybe more, and MSDN members have access to other OS builds as well (at least 2003 server).
That was no release (in the sense of a product release) of the system, though, was it? My understanding that the system is still considered in beta by Microsoft.
You have at least 2 compiler options, namely MSVC++ and GCC. ICL does not (yet) support x64_64.
How can you get a copy of MSVC++? VC.NET 2003 does not come with an AMD64 compiler to my knowledge, nor does the February 2003 (?) platform SDK incorporate one (which does incorporate an Itanium compiler). Regards, Martin
On Oct 13, 2004, at 4:11 PM, Martin v. Löwis wrote:
Nick Bastin wrote:
Microsoft made available an OS to the general public (2003 Pro, I think) for x86_64 at *least* 6 months ago, maybe more, and MSDN members have access to other OS builds as well (at least 2003 server).
That was no release (in the sense of a product release) of the system, though, was it? My understanding that the system is still considered in beta by Microsoft.
Yeah, that's why I didn't say 'released'. It's still a beta, but it certainly works and people are doing software development on it. My point was that people definitely have windows for x86_64, so it doesn't seem that unreasonable that they'd be trying to use Python on it - this isn't an isolated case.
You have at least 2 compiler options, namely MSVC++ and GCC. ICL does not (yet) support x64_64.
How can you get a copy of MSVC++? VC.NET 2003 does not come with an AMD64 compiler to my knowledge, nor does the February 2003 (?) platform SDK incorporate one (which does incorporate an Itanium compiler).
There is a version of MSVC on the beta DDK CD. -- Nick
Nick Bastin wrote:
Yeah, that's why I didn't say 'released'. It's still a beta, but it certainly works and people are doing software development on it. My point was that people definitely have windows for x86_64, so it doesn't seem that unreasonable that they'd be trying to use Python on it - this isn't an isolated case.
I didn't mean to suggest it was unreasonable. I was just wondering what precisely you need (in addition to the actual hardware, of course). Thanks for your elaboration, Martin
Thanks for all your responses, Unfortunately I don't know the specifics of how to get the compilers and OS. I am only in charge to find out if Python-Dev has made already the work. I suspect you get the OS and compilers from the MSDN Subscriber program. I will certainly let you know of our experience if/when we decide to compile Python on x86_64. It might not be before a while though, so probably someone else will be able to report before us. Thanks again, alex. At 01:11 PM 10/13/2004, Martin v. Löwis wrote:
Nick Bastin wrote:
Microsoft made available an OS to the general public (2003 Pro, I think) for x86_64 at *least* 6 months ago, maybe more, and MSDN members have access to other OS builds as well (at least 2003 server).
That was no release (in the sense of a product release) of the system, though, was it? My understanding that the system is still considered in beta by Microsoft.
You have at least 2 compiler options, namely MSVC++ and GCC. ICL does not (yet) support x64_64.
How can you get a copy of MSVC++? VC.NET 2003 does not come with an AMD64 compiler to my knowledge, nor does the February 2003 (?) platform SDK incorporate one (which does incorporate an Itanium compiler).
Regards, Martin
On Oct 13, 2004, at 5:29 PM, Alexandre Parenteau wrote:
Thanks for all your responses,
Unfortunately I don't know the specifics of how to get the compilers and OS. I am only in charge to find out if Python-Dev has made already the work.
I suspect you get the OS and compilers from the MSDN Subscriber program.
I will certainly let you know of our experience if/when we decide to compile Python on x86_64. It might not be before a while though, so probably someone else will be able to report before us.
Oh, well, if you just wanted to know if it worked... :-) It does work. IIRC, you need to play with pyconfig.h a bit for a few 64-bit things, but it pretty much works out of the box. It might be easier at this point to check out the pyconfig.h that's used for the Itanium build - I don't think that was available when I did the first AMD64 build here. -- Nick
[Alexandre Parenteau]
... - The ISS files (Inno) do not seem up to date.
FYI, they were never up to date, and were never used to build a released installer.
Is anybody having a ISS version of the installer which works for 2.3.4?
Sorry, I don't know of an Inno installer for any version of Python. Because there was a minor (but endless) stream of complaints that building the Python Windows installer required Wise, I checked in the "most of the way there, at the time" .iss file so that someone else could volunteer to finish it. Since nobody cared enough to do so, I ignored such complaints ever after <wink>.
Tim Peters <tim.peters@gmail.com> writes:
Sorry, I don't know of an Inno installer for any version of Python. Because there was a minor (but endless) stream of complaints that building the Python Windows installer required Wise, I checked in the "most of the way there, at the time" .iss file so that someone else could volunteer to finish it. Since nobody cared enough to do so, I ignored such complaints ever after <wink>.
I think that occurred right about the same time that Wise donated the more up to date version of their package. Thus the existing Python installer no longer generated (ignoreable) errors under NT, for example, and was brought up to date presentation wise, so that pretty much resolved the complaints. At least that definitely did it for me, and I had been looking at finishing the file at the time. -- David
participants (6)
-
"Martin v. Löwis"
-
Alexandre Parenteau
-
David Bolen
-
Nick Bastin
-
Thomas Heller
-
Tim Peters