How to Install Composer in Laravel?

Composer requires PHP 8.0+ to run

  • Download Composer exe from official website then install it
  • Use command line installation

-May need to set Path or use php composer.phar init

Go to the windows search menu and type cmd

Open Command Prompt then right click and go to Run as administrator

Then show you screen c:\Windows\system32>
and then type composer -V and press enter bottom.
If your composer is already installed then your computer screen will show the composer version. And if not already installed it will show – Composer is not recognized unknown internal and external commands, compatible programs, and batch files.

How to Update Composer

There is some new update in composer, so if you want to update it then you have to run command for it:

composer self-update

How to Roll Back Composer Update

If that update starts happening, then you can roll back that update and go back to the old versions. For which you have to run the command:

composer self-update –rollback

Tagged : / / / /

Windows Installer Rollback install directory files cleanup problem

rajeshkumar created the topic: Windows Installer Rollback install directory files cleanup problem
am facing problem in Windows Installer Rollback functionality using C#.net 2.0. I have created an installer class and it launches custom action [installer type] to create database and take user inputs for application settings (i override the install method to launch forms), If user wants to rollback I use InstallerException with custom message, but if I do so then in the install directory some tmp files [no. of files dependent on the forms object used in process] are not removed and these are supposed to be removed.

In the mentioned scenario I want to rollback in such a way that system should be restored to its initial state as it is requirement for Windows 7 logo certification. Any help in this regard will be highly appreciated.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged : /