Winetricks “voice had cried out in terror” error resolve

if you get a winetricks error like:

wine cmd.exe /c echo ‘%ProgramFiles%’ returned a string containing the word ‘unknown’, as if a voice had cried out in terror, and was suddenly silenced.

fix winetricks error

  1. backup your existing system.reg file by typing in Terminal:

     cp ~/.wine/system.reg ~/.wine/system.reg.bak
    
  2. gedit and replace all

     C:\\windows\\system32\\unknown
    

    with

     C:\\Program Files