Commit Graph

189 Commits

Author SHA1 Message Date
Tim Peters ce5f13ae41 I hope this irons out the Add/Remove kinks on Win2K for users w/o Admin
privs, but haven't tested that yet.  Doesn't hurt on Win98SE, anyway.
2001-07-31 03:24:55 +00:00
Tim Peters 85a5bae452 Remove oodles of pointless file date and size stamps. I caught the Wise
GUI inserting those once before shortly after I started using it, but
don't know what triggers it -- presumably something in the "expert" view
(which is, suitably enough, unsuited to experts <wink>).
2001-07-30 23:26:41 +00:00
Tim Peters 96e1d2f206 Massive fiddling to get the install to work at all on a Win2K box under a
plain unprivileged User acct:
+ Had to duplicate Wise's Uninstal.wse script, in order to change the line
  at its end that unconditionally tries to write uninstall info under HKLM.
  This is our new file Uninstal.wse, which must be included by python20.wse
  instead of using Wise's version.
+ In every other case we write to HKLM, also write to HKCU instead (we
  were already doing that in *most* places, but not quite all).
+ If the user doesn't have admin privs, the DLLs we usually write to the
  system dir are written to the root of the Python installation instead.
  That's python22.dll, plus the two MSVC runtime DLLs.
+ Added a new component "Register file extensions".  Registering .py etc
  is done under HKEY_CLASSES_ROOT, and that also requires admin privs;
  i.e., AFAICT it's impossible for an unprivileged user to accomplish this.
  In the component selection dialog, if the user doesn't have admin privs
  I gray out this new component so the user knows they aren't getting file
  extensions.
After all that, Python installs, the Start Menu entries are OK, it runs
its test suite to completion, and the uninstaller works too.  Only known
problem so far is that the integration with Win2K's Add/Remove subsystem
isn't quite right yet in this irritating case.
2001-07-30 23:06:21 +00:00
Tim Peters a1fd0505af Add a dialog for the backup directory (default "yes I want one, and
make it MyPythonDirectory\BACKUP\").
2001-07-30 07:30:56 +00:00
Tim Peters 6ea8baa5ee Now stop distutils and xml from getting *too* much (like .pyc files). 2001-07-29 22:12:28 +00:00
Tim Peters 8e02fb15e6 Repair long-standing mistakes in the distutils and xml installations:
1. Only .py files were getting installed.
2. Empty CVS directories were getting created.
Both were due to trying to get away with "recursively copy *.py" one-
liner scripting.
2001-07-29 21:36:58 +00:00
Tim Peters 412e458495 Remove Lib\plat-win from PYTHONPATH; that directory went away a year ago. 2001-07-29 21:04:09 +00:00
Tim Peters d8c7da4bf0 Don't prompt for the doc (HTML) directory anymore (just assume ..\html). 2001-07-29 19:57:07 +00:00
Tim Peters 4670b3a2ee Whew -- I *think* this completes folding in all the new-in-8.1 stuff.
Still need to test it in pathological scenarios.
2001-07-29 19:48:44 +00:00
Tim Peters 4e9a00e3c2 Ewwww -- the 8.1 support for rolling back changes in case the user aborts
the installation was hiding in a part of the GUI I never saw before.  Add
it.
2001-07-29 19:31:03 +00:00
Tim Peters 0097bae32d Add oodles more 8.1 Wizard boilerplate. This creates lots of vrbls we
don't use directly, but the Wise utility scripts we invoke (like
uninstal.wse) sometimes need them.
2001-07-29 19:27:23 +00:00
Tim Peters 386b7a3a68 Add version resource info to installer .exe. 2001-07-29 19:02:52 +00:00
Tim Peters 6307bb8b7d Folding some Wizard boilerplate back in, created in new Wise projects but
not in the stuff we inherited from Wise 5.0 -- better safe than sorry.
2001-07-29 18:55:06 +00:00
Tim Peters e7b2a27d47 Updated to Wise 8.14 (web update).
Got rid of useless "Welcome" screen.
Folded Tcl/Tk into the main Python component.
Bug introduced during upgrade:  Start Menu entries didn't work if
    installation was to a path with an embedded space, because the
    enclosing quotes somehow got dropped on the cmdline args.  Repaired.
Years of wizard-generated code blocks left this script hard to read.
    Added many more comments, blank lines, and rearranged related code
    into related blocks where they had drifted apart.
Added %_PYMAJOR_% and %_PYMINOR_% compiler vrbls, and reworked script
    items to use them as appropriate.  This should slash the amount of
    hand-fiddling needed when version numbers change.  Indeed, in the
    body of the script, only the first line should need changing now.
Deleted unreferenced wizard-generated compiler vrbls.
2001-07-29 09:28:37 +00:00
Tim Peters db642c66a8 Woo hoo! Relative paths! This is, alas, partly braindead: When the new
"relative paths" option is enabled, 8.1 rewrites *every* path to be
relative to PCbuild (the dir containing the .wse script), even absolute
paths you type in by hand, paths to the Wise installation itself, and even
paths to the Windows directories (sheesh).  Only way to stop it is to
start a path with a variable reference, and we screwed ourselves before
by not using the predefined %_WISE_% vrbl to point to the Wise
installation.  Repaired that old, repeated and well-hidden mistake.
Also:
+ Got rid of the %_SRC_% vrbl (such paths always relative to PCBuild now).
+ Changed the %_DOC_% vrbl to prompt for the location of the unzipped
  HTML files (defaults to ..\html, cuz that's where I put them, but I
  expect I'll change that later cuz I always hated mixing the generated
  docs into the CVS tree ... Guido, if you're reading this, where did you
  unpack the docs when building a Windows installer?  Happy to oblige.).
+ Stopped the generated installer from filling up the entire screen (got
  rid of the massive blue background gradient -- new option).
+ Added the helpful app publisher and app URL registry entries that Win2K
  displays in its version of Add/Remove.
2001-07-29 02:04:20 +00:00
Tim Peters 50e278ecfc Convert from Wise version 5.0 to 8.1. Gotta hand it to 'em! 8.1 imported
the old script without any complaints, didn't demand any manual changes,
and built a working installer from it that acts very much like the old one.
It did add a few script items, and changed one, so checking it in now
before I break everything again.
2001-07-29 00:48:54 +00:00
Tim Peters faa7f116f2 Move Windows to Expat 1.95.2. CAUTION: Your Windows build won't work
until you download the new expat and install it; see PCbuild\readme.txt.
2001-07-28 07:56:38 +00:00
Tim Peters 76f373d081 Repair more now-obsolete references to config.h. 2001-07-26 21:34:59 +00:00
Martin v. Löwis 4f1cd8bdcb Patch #411138: Rename config.h to pyconfig.h. Closes bug #231774. 2001-07-26 13:41:06 +00:00
Tim Peters b5c61a899e Leave the Inno script in better shape. Added registration of .py etc
extensions -- but Inno uninstall doesn't restore previous ones (if any),
so that's another step backwards.
2001-07-21 21:16:39 +00:00
Tim Peters 7e5dcf6a33 A full Inno Setup script for Python, except for the few hard and esoteric
parts Inno has no good answer for (read the comments at the top of the
script).
2001-07-20 09:32:16 +00:00
Tim Peters 0b89fc0214 Remove the TENTATIVE marker from the now-historic Windows buildnos. 2001-07-20 05:17:10 +00:00
Tim Peters 0eb4f3e994 Prepare Windows installer for 2.2a1. 2001-07-17 04:05:43 +00:00
Tim Peters c683a29332 Remove TENTATIVE from the 2.1.1c1 Windows buildno. 2001-07-14 03:31:35 +00:00
Tim Peters c4889c496a Remove now-unnecessary "from __future__ import nested_scopes" stmts. 2001-07-12 22:36:02 +00:00
Tim Peters 9b23920b0f Fiddle Windows installer to create Lib/site-packages/REAMDE as
Lib\site-packages\README.txt.
2001-07-12 20:15:25 +00:00
Tim Peters 1a7f16ccdf Removed fpectlmodule.c and fpetestmodule.c from the Windows build. They
weren't functional under Windows even if enabled.
2001-07-05 21:19:02 +00:00
Tim Peters 8734952a84 Add tentative 2.1.1 Windows build numbers. 2001-07-02 04:08:39 +00:00
Tim Peters 289a961cd4 Record Windows build number for 2.0.1 final. 2001-06-22 02:06:04 +00:00
Tim Peters 42107c5a0f Record Windows buildno for 2.0.1c1. 2001-06-13 19:17:32 +00:00
Tim Peters 9dfe4cdfa4 Teach Windows about new iterobject.c. 2001-04-20 21:21:28 +00:00
Tim Peters 52709e321c Move Windows stuff to 2.2, so CVS builds won't interfere with 2.1
installations.
2001-04-18 21:12:25 +00:00
Tim Peters dd37dace87 Update Windows installer & buildno for 2.1 final. 2001-04-16 18:20:30 +00:00
Tim Peters b093166f93 Update Windows installer & build number to 2.1c2 release. 2001-04-16 01:44:08 +00:00
Tim Peters fd09e86109 Update Windows build # and installer for 2.1c1. 2001-04-12 04:01:39 +00:00
Tim Peters 66f0961386 pydoc changed overnight in such a way that it no longer worked from the
Windows start-menu item.  This recovers from that.
2001-03-23 20:21:29 +00:00
Tim Peters fe0d79fbeb Add Jeremy's compiler to the Windows install. 2001-03-23 03:43:35 +00:00
Tim Peters 55f826cd6a Update Windows installer for 2.1b2. 2001-03-21 06:09:14 +00:00
Tim Peters baa03e80f4 When building the installer, prompt for the location of the system directory
on the current machine.  Wise doesn't seem to know this itself, and it
varies across Windows flavors.
2001-03-19 19:19:45 +00:00
Tim Peters b3d6be9d93 Windows: Fallout from renaming the pydoc file. 2001-03-11 08:06:25 +00:00
Tim Peters 1eb0a92214 SF bug Win32: pydoc command isn't executable.
As the bug report notes, the Windows installer creates a useless pydoc
file in the base directory.  Changed the installer to rename it pydoc.pyw
instead.
2001-03-11 07:34:18 +00:00
Tim Peters b2a22f4533 Magic strings in both Python and the Wise installer define the registry key
to be used in Windows.  They got out of synch.  Repaired that, and added
comments to each one pointing at the other.
2001-03-11 04:30:35 +00:00
Guido van Rossum fe010e41cc Add a new item to the Python 2.1 start menu: "Module Docs".
This brings up Ping's pydoc server.

(XXX The icons for this and for IDLE seem screwed.  Oh well.)
2001-03-02 04:59:38 +00:00
Tim Peters 5f850ab47f Prepare Windows for 2.1 beta 1: installer dialogs and bump "build number". 2001-03-01 02:43:40 +00:00
Tim Peters 0f4e93d434 Backing out nested scopes broke the Windows build. Repairing. 2001-02-27 21:11:46 +00:00
Tim Peters bd00cdaf73 Teach Windows build about new future.c. 2001-02-27 19:52:02 +00:00
Tim Peters 15d72703fc Windows: Remove soundex from pythoncore subproject. 2001-02-22 19:51:31 +00:00
Tim Peters ffd9328239 Clean up the "docs". 2001-02-19 21:44:53 +00:00
Thomas Wouters d807570ed1 Re-add DOS line-endings and mark the files binary. 2001-02-14 09:43:47 +00:00
Tim Peters 6a9aec47b7 Change Windows test to do a complete job of removing .pyc/.pyo files
reachable from Lib/.
2001-02-11 00:46:39 +00:00