summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst
Commit message (Collapse)AuthorAgeFilesLines
* Add missing svn:eol-style to text files.Tim Peters2006-10-182-339/+339
|
* Add MSVC8 project files to create wininst-8.exe.Martin v. Löwis2006-10-042-0/+339
|
* Remove .cvsignore files, as they live in svn:ignoreMartin v. Löwis2005-10-301-8/+0
| | | | properties now.
* Running a bdist_wininst installer, built with Python 2.3, installingThomas Heller2005-02-031-8/+25
| | | | | | | | | | | | | for Python 2.4 caused a segfault when post_install_script was used. The reason was that the file handle passed to PyRun_SimpleFile() was created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL. So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The segfault is gone, but the output of the postinstall script doesn't show up, because still freopen() from MSVCRT is used. Already backported.
* Set PYTHONHOME before loading Python, so that sys.path will be set correctly.Thomas Heller2005-02-031-1/+7
| | | | Already backported.
* Close stdout and stderr, which are redirected into a temp file, beforeThomas Heller2004-12-221-1/+7
| | | | | | | | trying to remove this file - the file was never removed before. Fixes [ 1067732 ] wininst --install-script leaves residual files Already backported.
* printf format code for integers is %d not %s.Thomas Heller2004-12-011-1/+1
| | | | Will backport.
* Running the pre-install or post-install script did not work whenThomas Heller2004-12-011-3/+6
| | | | | | | | Python was installed with the 'only for me' option. The registry key had a hardcoded '2.3' in it where the python version chosen for installation should be used instead. Will backport myself.
* The binary layout of cfgdata has changed, so the magic number has toThomas Heller2004-07-191-1/+5
| | | | | change as well. Display an additional message box when a mismatch is detected.
* Ignore some more build products.Thomas Heller2004-07-141-0/+4
|
* Add a warning so that it isn't forgotten to recreate the binaries ANDThomas Heller2004-07-145-0/+45
| | | | CHECK INTO CVS if these files are changed.
* Don't complain that non-existant registry entries cannot be deleted.Thomas Heller2004-07-141-2/+2
|
* Remove the annoing and useless messagebox asking about overwriting files.Thomas Heller2004-07-071-25/+0
| | | | Fixes SF #984290.
* Patch [ 983775 ] Allow bdist_wininst to install for non-admin usersMark Hammond2004-07-021-41/+118
| | | | | | | | | | | | | | | | | | | | to address bugs: [ 555812 ] installing extension w/o admin rights [ 555810 ] removing extensions without admin rights * When enumerating the Python versions found, also remember the HKEY they were found under. * When installing, if Python was installed under HKCU, we will too. If Python was installed under HKLM, we check the permissions of the current user, and install where we can. * The "root" key we use is a global variable - all registry setting and delete functions use this global rather than a hardcoded HKLM. * A new entry is written to the install log, indicating the key we used. Uninstallation is based on this key. * 'tempnam()' is used rather than 'tmpnam()' - 'tmpnam' creates a temp file on the root of the current drive, and if this is readonly would explain the 'freopen' errors occasionally reported. 'tempnam' creates the temp file in the %TEMP% directory.
* Fix for SF 982215: bdist_wininst - Next button not greyed out during file copy.Thomas Heller2004-07-021-0/+8
| | | | | | | Patch from Mark Hammond. Recompiled binary. Already packported to the 2.3 branch.
* The wininst.exe is no longer compressed with UPX.Thomas Heller2004-06-182-9/+3
|
* When loading the Python dll to run the postinstall script, try to loadThomas Heller2004-06-181-4/+20
| | | | | | | | | it from the install directory (as reported by the registry) in case it is not found on the default Loadlibrary search path. Fixes SF 935091: bdist_winist post-install script fails on non-admin Python Already backported.
* The wininst-6.exe template binary for bdist_wininst is now linkedThomas Heller2004-04-161-2/+2
| | | | with zlib-1.2.1.
* The wininst-7.1.exe template binary for bdist_wininst is now linkedThomas Heller2004-04-161-5/+5
| | | | | | with zlib-1.2.1. UPX needs the --force flag to be able to compress it.
* Minor reformatting.Thomas Heller2004-04-151-4/+5
|
* Solution and project file to build wininstXX.exe with MSVC7.1 (VisualThomas Heller2004-02-202-0/+236
| | | | | | Studio .NET 2003). The output files are named wininst-7.1.exe and wininst-7.1_d.exe.
* To avoid problems with conflicting dlls, the windows installers builtThomas Heller2004-02-201-3/+3
| | | | | | | | | | | | | | by bdist_wininst *must* use the same runtime libary as the Python version. Actually this means the Python version where the installer is run, not the one which is used to build it. Must think about that - for now I assume MSVC6 is used up to Python 2.3, and MSVC7.1 is used starting at Python 2.4. So the filename for wininst.exe is now wininst-6.exe for the Release version and wininst-6_d.exe for the Debug version, when built with MSVC6.
* Patch #892660 from Mark Hammond, for distutils bdist_wininst command.Thomas Heller2004-02-201-50/+177
| | | | | | | | | | | install.c: support for a 'pre-install-script', run before anything has been installed. Provides a 'message_box' module function for use by either the pre-install or post-install scripts. bdist_wininst.py: support for pre-install script. Typo (build->built), fixes so that --target-version can still work, even when the distribution has extension modules - in this case, we insist on --skip-build, as we still can't actually build other versions.
* Oops, MSVC was still open, so the project file was not yet saved.Thomas Heller2002-11-221-6/+7
|
* Copied the sources from the distutils CVS repository.Thomas Heller2002-11-2210-0/+3125
Changed the MSVC project file to create the exe in the lib/distutils/command directory, bdist_wininst.py must still be changed to use it. Also changed to use the same zlib as the zlib module - this has the nice sideeffect that now the buggy 1.1.3 version is no longer used. Most of the source files now conform to PEP 7, except for the maximum line length. Windows api programming in 78 character lines =:(. README.txt is a new file, but still empty except for placeholders.