windows-setup

The Windows installer for the Composer PHP Dependency Manager

MIT License

Stars
144
Committers
6

Bot releases are visible (Hide)

windows-setup - Composer-Setup 6.3.0 Latest Release

Published by johnstevenson almost 3 years ago

  • Added existing version uninstallation. This is done silently in the background just before the main installation and creates an Uninstall Log in the temp directory.
  • Removed approval page for ini updates, which now happen automatically and are shown to the user on the Ready to Install page.
  • Reworked ini update handling to fix extension_dir errors.
  • Improved PHP checks and changed to using runphp for all scripts.
  • Added output capturing from runphp using cmd.exe.
  • Changed runphp to execute any commands, rather than just -v, with a 30 second safety timeout.
windows-setup - Composer-Setup 6.2.0

Published by johnstevenson about 3 years ago

  • Removed MinVersion to use the default. Windows Vista is no longer supported. This is required to
    make the installer more secure on supported versions (Windows 7 updwards).
  • Removed expiring DST Root CA X3 certificate so that OpenSSL and Curl will work using ISRG Root X1.
windows-setup - Composer-Setup 6.1.0

Published by johnstevenson about 4 years ago

windows-setup - Composer-Setup 6.0.0

Published by johnstevenson about 4 years ago

  • Disabled deprecation warnings in php scripts.
  • Fixed PHP 8 openssl_free_key deprecation warning: https://github.com/composer/windows-setup/issues/122.
  • Updated to latest installer script, including certificate data from Wed Jul 22 03:12:14 2020 GMT.
  • Improve proxy handling by making proxy discovery match Composer behaviour and by reporting proxy
    urls in the log file, masked to hide sensitive data.
  • Fixed potential escalation of privileges by locking down the bin folder for admin installs.
  • Added a path security warning which requires the user to confirm that it is their responsibilty
    to ensure the access control of a folder being added or replaced on the system path. This affects
    standard admin installs, but not silent or Deverloper Mode installs with admin priveleges.
  • Improved and documented ini update handling.
  • Fixed failures when the ini contains relative root paths, as in xampp portable, by running PHP
    from the drive it is installed on and using full paths to the php scripts. This unfortunately
    breaks Cygwin PHP installations. Reported in https://github.com/composer/windows-setup/issues/116.
  • Fixed runphp.exe reporting PHP fatal errors by calling PHP with the -n (no ini) option, which
    lets the user see the error later: https://github.com/composer/windows-setup/issues/116.
  • Added cmd.exe checking to flush out misconfigrations before it is used to call the php scripts.
  • Fixed missing captions on settings error page when cmd or php did not run.
  • Added logging of command-line params.
  • Fixed bug when admin installing in user-mode could not change global environment.
  • Further improvements to Chocolatey package so it can be accepted as a core-team package.
  • Fixed installer script to handle uopz extension if it prevents exit calls.
windows-setup - Composer-Setup 5.1.0

Published by johnstevenson almost 5 years ago

  • Added the identifier Composer-Setup.exe (plus version) to the user-agent header when downloading.
  • Improved path handling to remove all instances of PHP and Composer when adding new values.
  • Updated to latest installer script which fixes NO_PROXY handling bug and includes certificate data
    from Wed Nov 27 04:12:10 2019 GMT.
windows-setup - Composer-Setup 5.0.0

Published by johnstevenson almost 5 years ago

  • Improved the Chocolatey package release process to use their automatic update module.
  • Added the curl extension to php.ini modifications which will be needed in Composer 2.
  • Updated to Inno Setup 6 which provides a modern resizable interface and drops support for Windows XP.
  • Restricted PHP to 5.5 upwards because lower versions do not use the TLS protocols required to
    download the installer and connect to Packagist.
  • Removed the security page that allowed the user to disable TLS.
  • Improved wording on environment changes page: https://github.com/composer/windows-setup/issues/103
  • Updated the installer script to recognize the HTTPS_PROXY and NO_PROXY environment variables and to include certificate data from Wed Oct 16 03:12:09 2019 GMT.
  • Improved proxy display and handling, which nows allows the user to override settings from
    Internet Options: https://github.com/composer/windows-setup/issues/91
  • Fixed crash caused by Inno Setup 5 bug when calling ExpandUNCFileName with a path longer than 259 characters. This occured when a user had an entry named %PATH% in their Path environment variable, so Setup now checks for the path separator in an expanded path: https://github.com/composer/windows-setup/issues/92.
  • Improved extension enabling in php.ini so that only the extension name is used for PHP7.2 upwards.
  • Improved search for common PHP locations.
windows-setup - Composer-Setup 4.10.0

Published by johnstevenson over 5 years ago

  • Updated to latest installer script, including certificate data from Wed Jan 23 04:12:09 2019 GMT.
  • Fixed POSIX incompatibility in shim script.
windows-setup - Composer-Setup 4.9.0

Published by johnstevenson about 6 years ago

  • Improved installer error reporting to show common OpenSSL and proxy errors.
  • Stopped ini-handling from modifying an ini file if it is not in the php.exe directory.
  • Added PHPRC detection, which is reported if used.
  • Updated to latest installer script, including certificate data from Wed Jun 20 03:12:06 2018 GMT.
windows-setup - Composer-Setup 4.8.0

Published by johnstevenson almost 7 years ago

  • Changed error reporting by forcing all errors to stderr with ini overrides.
  • Changed detection of old PHP versions for better error handling.
  • Fixed argument escaping to handle unusual path characters.
  • Fixed shell proxy to handle cygdrive prefix if it has been changed by the user.
  • Changed reporting of registry Autorun entries to catch strange ansicon behaviour.
windows-setup - Composer-Setup 4.7.0

Published by johnstevenson about 7 years ago

  • Stopped uninstall removing Composer\vendor\bin from the user path if there is another composer files directory in the path (ie from a subseqent Developer mode installation).
  • Improved shell proxy handling, in case of CDPATH conflicts.
  • Improved error reporting, making use of stderr now that PHP uses it better.
  • Added output from stdout and stderr to the log file for better troubleshooting.
  • Unattended SYSTEM installations no longer write data to the system user profile.
windows-setup - Composer-Setup 4.6.0

Published by johnstevenson about 7 years ago

  • Improved unattended installation to suppress system error dialogs. The /PHP param now accepts a folder or exe location.
  • Added automatic php.ini creation/modification. A new ini will be offered if one does not already exists, based on the user php.ini-production file. If an existing ini is missing required settings, Setup will offer to update it, having created a back-up.
  • Added a Developer mode install option that allows users to install the Composer specific files where they want to, without including an uninstaller.
  • Added /DEV=path\to\installation\folder param for unattended Developer mode installs
  • Created a chocolatey package: https://chocolatey.org/packages/composer
  • Many code tweaks and improvements.
windows-setup - Composer-Setup 4.5.0

Published by johnstevenson over 8 years ago

2016-04-14

  • Improved welcome page logo.
windows-setup - Composer-Setup 4.4.0

Published by johnstevenson over 8 years ago

2016-04-14

  • Improved search for existing php installations, including Program Files folders.
  • Updated installer to use channels.
  • Fixed PATHEXT handling bug issue 54.
windows-setup - Composer-Setup 4.3.0

Published by johnstevenson over 8 years ago

2016-03-24

  • Improves path handling for existing user path in admin installs (introduced in v4.2.0) and for adding Composer\vendor\bin to the user path.
windows-setup - Composer-Setup 4.2.0

Published by johnstevenson over 8 years ago

2016-03-24

  • Allow an existing user path to be found and used in admin installs. The path is left intact but all other admin-specific locations will be used.
windows-setup - Composer-Setup 4.1.0

Published by johnstevenson over 8 years ago

2016-03-24

  • Major version pushed to v4, reflecting ShellMenus removal which requires uninstalling.
  • Updated userdata.dll to handle silent uninstalls and removed the dialog cancel button, as it implied rollback functionality. File deletion can always be stopped using the dialog close icon.
  • Added /PHP=path\to\php.exe and /PROXY=http_proxy url params for installation, which can additionally be saved using /SAFEINF
    and loaded with /LOADINF. For uninstall /DELETE=local will remove only local data, while /DELETE=all will remove all user data.
  • Added unattended/silent install and uninstall functionality, with /SILENT, /VERYSILENT and /SUPPRESSMSGBOXES params, as per
    Inno Setup documentation.
  • Changed Settings page to display a list of existing php installations. The following system drive and user profile directories are searched first: \php*, \php\php*, \bin\php*, \bin\php\php*. Then it looks for specific (xampp, wamp, PhpEd) locations.
  • Simpler error handling introduced, which recognizes common PHP errors and displays all php output received.
  • Added a Proxy page for the user to enter an http_proxy value, with a value pre-entered if a proxy is found in any registry Internet
    Settings. The variable is then set in the User environment (but not deleted on Uninstall). The Proxy page is also shown if http_proxy is already set or passed in as a param.
  • Added a Security page for when openssl is disabled, with the option to not use it. Sets disable-tls flag for installer script
  • Added installation logging, stored as Setup Log YYYY-MM-DD #nnn.txt in the users temp directory. For admin installs, the log is deleted on reboot.
  • Removed Shell Menus feature to simplify the setup and further development.
windows-setup - Composer-Setup 3.0

Published by johnstevenson almost 11 years ago

2013-11-22

  • Major version pushed to v3, reflecting changes below and the requirement to uninstall any existing installation (notified by the installer).
  • Added optional Shell Menus context-menu handler, to allow Composer usage from Windows Explorer/File Manager. Not available pre-Vista.
  • Added dialog requiring user to shutdown programs that are locking context-menu dll.
  • Added Change feature to installer, to allow Composer reinstall and to add/remove context-menus.
  • Changed installation directories to split files into application (shell, installer, uninstaller etc) and bin (composer.phar, shims) categories. For admin installs these are <ProgramFiles>\ComposerSetup and %ProgramData%\ComposerSetup\bin. For user installs these are %LOCALAPPDATA%\ComposerSetup and %LOCALAPPDATA%\ComposerSetup\bin. The base folder name has been changed to ComposerSetup to avoid any conflicts in the Program Files directory.
  • Previous-data added: shell menus installed (key : ShellExt).
  • Previous-data added: application directory (key : AppDir).
  • Previous-data added: bin directory (key : BinDir).
  • Code signing added to all dlls for release versions.
  • Thanks to cmenning for suggesting the context-menu handler.
windows-setup - Composer-Setup 2.8

Published by johnstevenson about 11 years ago

2013-10-19

  • Added support for cygwin php.
  • Removed Start menu entry (automatically upgraded when re-installing over an older version)
  • Moved released versions back to Github now they have introduced a Releases feature.
  • Minor code tweaks.
windows-setup - Composer-Setup 2.7

Published by johnstevenson about 11 years ago

2012-02-20

  • Added an option to delete user data on uninstall. Uses a separate dll (userdata.dll) to get round Inno Setup limitations which provides a cancellable progress form and error report. Only user data found at default locations is deleted. Config entries that point elsewhere are displayed for information but not deleted, and neither is the config.json file. Config entries at project level are not reported. For Admin uninstalls user data is shown for all users, where it can be reliably found.
  • Moved User installation directory from roaming folder to %LOCALAPPDATA%\Programs\Composer\bin. This is automatically upgraded when re-installing over an older version.
  • Fixed User uninstall not updating environment.
  • Made the repo more collaborator-friendly by moving the exe and code-signing out, re-organizing the code and adding more in-line documentation.
  • Moved released versions to Amazon S3 after the demise of Github Downloads.
  • Many thanks to hakre for his reports and suggestions.
windows-setup - Composer-Setup 2.6

Published by johnstevenson about 11 years ago

2012-12-01

  • Added proxy support. This checks for an http_proxy environment variable and the user's registry settings at HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings. It tries all the settings it finds, before falling back to a plain request. Sets http_proxy locally for install.phar if a proxy was used. Note that authenticated proxies are only supported using an http_proxy variable.
  • Reworked tests to incorporate proxy support.
  • Minor tweaks and doc improvements.