First you need to install GhostScript.
Then add a PATH environment variable to C:\Program Files\gs\gs8.64\bin and C:\Program Files\gs\gs8.64\lib (using your version of course)
And then copy the file gswin32c.exe from the directory :
C:\Program Files\gs\gs8.64\bin
to the directory :
C:\Program Files\gs\gs8.64\lib
so that it exists in both places?
The ‘lib’ directory is probably already in the path, but the ‘bin’ directory may not be in the path, and the file gswin32c.exe is essential for this procedure. (You’ll need to adjust the version number 8.64 as required)