cancel
Showing results for 
Search instead for 
Did you mean: 

Patching Magento in a Windows Environment

Patching Magento in a Windows Environment

Any thoughts or suggestions on how one might patch in a Windows environment using WAMP? step by step, no acronyms,   thought I would ask since im not really that bright and my expectations are probably unrealistic. Not everyone uses Linux, unix, DOS, Fortran, Cobol.  I realize Windows is not the choice of anyone hear however some of us have no choice. My sincerest appologies if these expectations are too high or not achievable.  I certainly understand the extreme difficulties it is to make a basic executable for patches for the largest community used ecommerce solution on earth.

3 REPLIES 3

Re: Patching Magento in a Windows Environment

First you install Cygwin, then you add its additional modules like "patch", etc.

 

Once you have the basic *nix tools installed, it's just a case of "follow the instructions" provided by Magento to apply the patch.

 

And if you use Virtualbox, you do have a choice, you can run Linux and Windows on the same machine. Increasing your toolset, gaining multi-os knowledge makes you a better developer. Trying to escape from it with Magento leads to lots of pain.

Re: Patching Magento in a Windows Environment

As the post above describes - you should use CYGWIN to do this. However when you run the patch..

 

e.g

$ ./mypatch.sh  you will more than likely get an error back along the lines of: ERROR: "/app/etc/" must exist for proper tool work.

 

You will need to manually edit the patch file in a text editor - find the line

CURRENT_DIR=`$PWD_BIN`/

 

and replace it with

CURRENT_DIR=

Problem solved? Click Accept as Solution!
Magento Certified Developer Plus | www.iwebsolutions.co.uk | Magento Small Business Partner

Re: Patching Magento in a Windows Environment

Hello @Ratfink11

 

You can try following this link

http://stackoverflow.com/questions/29835356/how-to-apply-magento-security-patches-in-xampp-for-windo...

 

Or you can follow our blog and upload pre patched files on the Magento. Don't forget to take backup of the files you are replacing.

http://magecomp.com/blog/how-to-install-magento-security-patches/

 

 

 

SECURITY DISCLAIMER: The above website contains Magento Security Patch files which are self-hosted by the user and as such unsafe. Magento Forum advise all users to only download patch files from the official Magento Downloads page. 

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now