Commit Graph

111 Commits

Author SHA1 Message Date
Tim Peters 2a799bf77a datetime escapes the sandbox. The Windows build is all set. I leave it
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).
2002-12-16 20:18:38 +00:00
Tim Peters 598c210b5a Install the tools/i18n directory on Windows. A user requested it,
Barry agreed, and I see no reason not to.
2002-12-10 19:03:52 +00:00
Tim Peters 21d77f5e9c Added _ssl.lib to the installer too. Restored alphabetical order of
DLL and lib sections.
2002-12-04 04:00:12 +00:00
Mark Hammond fbac75fc42 Add _ssl.pyd to the list of files to be installed by Wise. 2002-12-03 06:02:59 +00:00
Tim Peters 84c7a3f328 Try linking the static Sleepycat lib into _bsddb.pyd. Hard to say
whether this is a correct thing to do:

+ There are linker warnings (see PCbuild\readme.txt).
+ test_bsddb passes, in both release and debug builds now.
+ test_bsddb3 has several failures, but it did before too.

Also made pythoncore a dependency of the _bsddb project, updated
build instructions, added database conversion XXX to NEWS, and fiddled
the Windows installer accordingly.
2002-11-23 18:48:06 +00:00
Tim Peters 19cf4ee69d More bsddb-on-Windows fiddling:
+ News blurb, but as much XXX as news.
+ Updated installer (install the new bsddb package, and the Berkeley DLL;
  still don't know how to fold that into _bsddb.pyd).
+ Fleshed out build instructions.
+ Debug Python still blows up.
2002-11-23 03:49:08 +00:00
Tim Peters a406b58619 Renamed Wise vrbl from _TCLMINOR_ to _TCLDIR_, to remove any script
dependence on the Tcl/Tk version number.  Now you point it at the
Tcl/Tk install you want to ship, and that's what it ships.
2002-11-19 17:38:27 +00:00
Tim Peters 077736b96b Windows changes to move from Tcl/Tk 8.3.2 to 8.4.1. I tested this by
running IDLE, and since I'm not a Tcl Guy I'm not sure what else to do.
Up to you!  See XXX comments in PCbuild\readme.txt for cautions.

Also repaired typos in the new bz2-for-Windows instructions.
2002-11-14 23:24:40 +00:00
Tim Peters 84fcd92461 Install the bz2 DLL on Windows. 2002-11-09 08:24:58 +00:00
Tim Peters 78e30fb32c Taught the Windows installer about changes in the structure of the email
package, and the loss of the test/data directory.
2002-07-23 19:56:30 +00:00
Tim Peters 08e7295ef8 Windows installer: disabled Wise's "delete in-use files" uninstall
option.  It was the cause of at least one way UNWISE.EXE could vanish
(install a python; uninstall it; install it again; reboot the machine;
abracadabra the uinstaller is gone).

Bugfix candidate, but I'll backport it myself.
2002-04-16 20:48:01 +00:00
Tim Peters 3318792e5f SF bug 497854: Short-cuts missing for All Users
Fix Windows-specific install glitch.  Tested on Win2K, but I can't test
on XP.
Already checked in to the release22-maint branch.
2002-04-04 20:02:04 +00:00
Tim Peters b012a15c42 Finish the pyexpat rework for Windows: builders needn't suck down the
Expat installer from SF anymore, and the installer shouldn't install
expat.dll anymore.
2002-02-13 23:56:46 +00:00
Tim Peters 83a3f0c305 Windows build: close out 2.2, prep for 2.3. 2001-12-21 22:06:12 +00:00
Tim Peters 909c091646 Post-release fiddling -- prep for 2.2 final. 2001-12-14 23:16:18 +00:00
Tim Peters 1ec040feb3 Update Windows installer for 2.2c1. 2001-11-17 00:24:45 +00:00
Tim Peters 6f0699bc09 SF bug #478949 Windows installer start menu registry.
I'm guessing at this, pending more info from the bug submitter.  Wise
changed how the %GROUP% vrbl got defined between versions 5.0a (used
before Python 2.2) and 8.14, to hold the full path to Start Menu group
instead of just the group name.  If I'm guessing correctly, the info
the bug report is complaining about is in one of the registry keys
we set up that neither Windows nor Python cares about.  We did store
a full path there in 2.2b1 instead of just the group name; the patch cuts
it back to just the name again.
2001-11-07 04:42:04 +00:00
Tim Peters 84362bc74a The usual post-release fiddling. 2001-10-19 17:55:30 +00:00
Tim Peters 5ae95abbc0 Added new hotshot pkg to the Windows installer.
Rearranged the growing number of Lib packages into alphabetical order.
2001-10-13 00:26:25 +00:00
Tim Peters 0af6703a71 If all of Python, IDLE and Tcl/Tk are being installed, and the user has
not disabled file-extension registration, arrange for .py and .pyw files
to have an "Edit with IDLE" context (right-click) menu entry, selecting
which executes IDLE w/ the -e switch followed by the selected file's path.
2001-10-09 22:22:36 +00:00
Tim Peters abf925f6bf Post-release fiddling (prep for 2.2b1). 2001-09-28 21:53:42 +00:00
Tim Peters 8ca177bd21 Install the new Lib/email pkg.
Create & populate the new Lib/test/data directory.
2001-09-23 07:02:29 +00:00
Tim Peters 3069d50c18 Install the compiler package under Lib. 2001-09-20 04:09:39 +00:00
Tim Peters b07352e8b7 The usual post-release fiddling. 2001-09-08 01:25:47 +00:00
Tim Peters 7c198d3cde Add pynche's top-level txt files to Windows installer -- I don't believe
we've *ever* installed them!
2001-08-22 22:18:31 +00:00
Tim Peters edc9931f56 "The usual" post-release fiddling. 2001-08-22 21:36:50 +00:00
Tim Peters a6b9e3c814 Windows fiddling for 2.2a2: bump build number; update copyright and
company info in resource files; change installer strings to match.
This belongs in the release branch too, of course.
2001-08-19 00:56:28 +00:00
Tim Peters fc7265ab42 Wise uninstallers never delete the Python DLL from the system directory.
They should.  Added a line that's supposed to fix that -- it doesn't
actually work on my box, but checking it in anyway.
2001-08-16 01:53:51 +00:00
Tim Peters 591f71b1d4 New, larger installer bitmap from Erik van Blokland. Added more
vertical whitespace to the acknowledgements portion of the "Installation
Completed!" screen for easier reading.
2001-08-15 06:10:16 +00:00
Tim Peters 68db9dd07a Now that the dialogs have some breathing room, split the combo of Tcl/Tk,
IDLE and pydoc into a separate component.  That's almost as big as the
rest of Python (excl. docs and test suite) combined.

Pop up a confimation box if they choose to install at least one of
{Tcl/Tk/IDLE/pydoc, Tools, Test suite} but do not choose to install
Python -- doesn't make much sense, so ask whether that's really what they
want.
2001-08-11 04:01:31 +00:00
Tim Peters f5d3505e21 Grow the dialogs 25%, to make room for a nicer bitmap (in progress; don't
have it yet).
2001-08-11 03:13:58 +00:00
Tim Peters f30f1fc900 In the acks, CamelCase InstallMaster the same way Wise does it. 2001-08-09 05:16:00 +00:00
Tim Peters b6135df018 Add a comma. 2001-08-08 22:58:52 +00:00
Tim Peters 8eb16b1658 Give some special thanks on the final "Installation Completed!" screen. 2001-08-08 22:50:35 +00:00
Tim Peters 36a90f61e8 Thanks to
LettError, Erik van Blokland, http://www.letterror.com/
the Python Windows installer finally has an attractive Pythonic bitmap
to delight the senses and dampen the fears of the millions and millions of
eager new Windows users anticipating their first Python programming joy.

Always knew Mac users secretly wanted to switch to Windows <wink>.
2001-08-08 20:50:07 +00:00
Tim Peters ce42a8ec68 Add the new Tools/compiler/README to the WIndows install, as README.txt.
In the Wise installer's "Advanced Options" dialog, substitute in the
actual name of "the system directory" -- this is clearer, and especially
for people reading this dialog who aren't me <wink>.
2001-08-08 19:32:25 +00:00
Tim Peters ae5262ef32 + Turn off patch creation (this isn't a patch release! got turned on by
mistake).
+ Arrange for Win2K Add/Remove to show a Python icon.

I think this "does it" -- a full install/uninstall can now be done on a
Win2K box from an ordinary (not Admin, not Power User) user acct, incl.
file extension registration, Start Menu entries, and full Add/Remove.
2001-08-06 20:01:19 +00:00
Tim Peters 223ec936f1 + Made installer more reluctant to overwrite MS C runtime DLLs -- it's
been overwriting them even if they have the same version, not just if
  they're an older version (and our installers have always done this).
+ Added an "Advanced Options" subdialog to "Select Components".  Allows
  to do a non-admin install even if you have Administrator rights, and
  to skip registering file extensions and/or creating Start Menu
  shortcuts.  Since so far these installers have been tested only by me,
  and Win2K has been full of surprises, I want those options available
  out in the field.
Lots of web searching turned up what should have been obvious:  Because
Windows Installer is a native Win2K service, it can run at a higher
privilege level than the user invoking it.  So MSI installs don't bash
into these permission gotchas on Win2K, but Wise 8.1 does (it's just
another app to Win2K, and we're not alone in wrestling with this; but,
like changing int division in Python, Win2K is doing a right thing <wink>).
2001-08-05 13:58:48 +00:00
Tim Peters 45e5e72eb8 Rename pydoc.pyw to pydocgui.pyw: Since we changed Python to allow .pyw
files to satisfy imports, pydoc.pyw was just importing itself!
2001-08-05 05:43:20 +00:00
Tim Peters b39fa0e0fa + Redid file associations on Win2K in what I believe is "the right way".
Can't test it until getting to a Win2K box, because the non-Admin way
  of setting file associations on Win2K doesn't work on any other flavor
  of Windows (and other flavors of Windows never need Admin privs to
  do it the old way).
+ Consequently got rid of the "Register file associations" Component and
  associated GUI.
+ Added a line to the summary saying whether or not this is an Admin-level
  install (I fear that will be an important clue someday).
+ Minor fiddling to the summary to reduce the # of lines.  Added a
  horizontal scrollbar in case the install path is very long.
+ Reworked the way the Main and Tools components share pydoc.pyw; cleaner
  and simpler.
2001-08-05 05:19:15 +00:00
Tim Peters 67b9adaa87 New runtime vrbl DOADMIN. When false, we never try to write under HKLM,
and install the Python and MS runtime DLLs into the Python dir instead of
a system dir.
Initial value is taken from new compiler vrbl _DOADMIN_ (default true),
and forced to false if the user doesn't have admin privs.
This makes it possible to *test* non-admin installs on machines where the
distinction doesn't exist (like my home box), via just changing _DOADMIN_.
It may also be useful for users who don't *want* an installer to
scribble into their system dir (for example, me(! most days)), but that
would require adding more GUI to let them get at it.
2001-08-05 04:12:30 +00:00
Tim Peters 4de219d511 + Add version info to Win2K add/remove.
+ Fiddle vrbls so Win2K add/remove can display version w/o future manual
  script fiddling.
+ Break apart the mysterious wizard-generated Win2K "Edit 3 Registry Keys"
  script items by hand into 3 separate items, so you can see what the heck
  they're doing in the script view.
+ pydoc.pyw was a problem:  it's installed by both the Main and Tools
  components.  So when both were selected, the second time it got
  installed Wise figured it was overwriting a pre-existing version, and
  made a backup copy in BACKUP.  A rollback-uninstall then restored that,
  leaving the Tools/Scripts/ directory non-empty, and so Wise couldn't
  remove that directory (or any above it).  Fixed by installing pydoc.pyw
  at most once.
+ Rearranged and commented the "register file extensions" section, because
  it was confusing and needs more work:  turns out it's not true that
  Win2K requires Admin privs to register file extensions, BUT, if you
  don't have Admin privs, Win2K requires a new way to register file
  extensions, and a way that doesn't blow up but doesn't do any good either
  on earlier Windows flavors.  I think I know how to get this done, but am
  too depressed to do it right now <0.7 wink>.
2001-08-04 23:23:27 +00:00
Tim Peters a0a7706916 + Moved IDLE from the "tools" component to the main component.
+ Ditto pydoc.
  (IMO, both should have been done long ago -- simply didn't occur to
   me before)
+ Build the summary text into a vrbl instead of a temp file.  Doh!  Less
  fiddling, and should avoid another class of Win2K permission problems.
Bug:  the "auto vertical scrollbar" control on the summary page doesn't
work (never creates a scrollbar, no matter how much text).  So forced a
vertical scrollbar there.
2001-08-03 19:04:13 +00:00
Tim Peters 2aadd36641 No more Inno Envy: the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.
2001-08-03 11:11:35 +00:00
Tim Peters a7f6de7691 Just changes to comments. 2001-08-01 18:42:54 +00:00
Tim Peters 60515573ba Repair more ways in which the "backup files" dialog differed from all the
others (wrong title, inconsistent layout).  Also tried to make the dialog
text clearer, and spelled out what the "yes" and "no" buttons *mean*.
2001-08-01 18:33:33 +00:00
Tim Peters 5a99e0ca0c We always wrote a pair of lines to the Wise install.log telling it to
delete the Tools and Lib directories at uninstall time.  However,
under the old version of Wise, they didn't actually do anything.  Under
the new version, they work as advertised, and even delete files users
added.
Got rid of those, and replaced them with similar uninstall cmds that
get rid of all .pyc and .pyo files (whether or not the installer created
them).  This works nicely!  It still tears down the directory structure,
except for those directories needed to get to any non-.pyc/o file(s) the
user may have added.
2001-08-01 06:29:56 +00:00
Tim Peters b8b3291152 Hmm. The Backup/Replace dialog also had back/next buttons three pixels
narrower than all the other Wise dialogs, and offset by a few pixels in
the vertical direction too.  Made these things consistent across dialogs
too.
2001-08-01 03:42:27 +00:00
Tim Peters bbeb69e357 Aha! Finally figured out something else that's been driving me nuts:
turns out the canned new "backup directory" dialog put its "back" and
"next" buttons at a different relative horizontal position than all the
other canned dialogs.  This explains why you had to keep moving the
mouse around if you wanted to do a straight all-default install -- the
Next button kept moving around.  Now the back/next buttons are in exactly
the same place on all dialogs, and you can click straight thru to the end.
2001-08-01 03:36:20 +00:00
Tim Peters 4951a980ad The "Select Destination Directory" dialog didn't ask for confirmation
about installing into a pre-existing directory *unless* you hit the
Browse button first.  At least while testing, this screwed me repeatedly.
Plus I really liked the Inno Setup scheme of giving you a list box in
its "select directory" dialog without needing a distinct browse button
to ask for that.

So I redid this dialog from scratch:  now gives a list box at once, the
browse button is gone, it asks for confirmation if the directory already
exists, and, since this is the first dialog in the set now, also removed
its "Back" button.
2001-08-01 03:29:59 +00:00