Ubuntu Wine - cannot find C:\\windows\\system32?

68,023

Run the Configure Wine application from the launcher or open a terminal with CtrlAltT and issue the command winecfg Either way you will get a Configuration Window for Wine. Insure that you are emulating the right version of Windows for your application and that the settings on all the tabs are sane. Drive Mapping Example Below:

winecfg

Note: In a typical installation of Wine The directory noted in your question can be found at ~/.wine/drive_c/windows/system32 and you can examine the content with the command.

ls ~/.wine/drive_c/windows/system32

You can find the location of the Set-up.exe file in your question with the terminal command find ~/.wine -name Set-up.exe provided it's anywhere close to where it's supposed to be.

On the off chance you've placed it somewhere outside the Wine drive mapping environment you should be able to locate it with the command sudo find / -name Set-up.exe

If anything in this answer is unclear please leave me a comment and I'll do my best to clarify.

Share:
68,023

Related videos on Youtube

Run
Author by

Run

A cross-disciplinary full-stack web developer/designer.

Updated on September 18, 2022

Comments

  • Run
    Run almost 2 years

    I have installed wine 1.8 and winetricks on my Xubuntu 16.04 but I have the error below when I try to install an exe file:

    wine: cannot find L"C:\\windows\\system32\\Set-up.exe"
    

    Any ideas why and how I can fix it?

    • muru
      muru over 7 years
      Where is Set-up.exe located?
    • Run
      Run over 7 years
      @muru I created a folder on my desktop and put it there. Shud I put it in a specific place instead?
    • muru
      muru over 7 years
      then try running wine ~/Desktop/folder-name/Set-up.exe
    • Luis Alvarado
      Luis Alvarado over 7 years
      @teelou Please read the Wine Guide in askubuntu.com/questions/316025/… to know how to execute file outside of the Wine default environment
  • David Foerster
    David Foerster over 7 years
    Welcome to Ask Ubuntu! I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on AskUbuntu.)
  • Elder Geek
    Elder Geek over 5 years
    This doesn't answer the question asked. It appears that you intended this to be a new question regarding the links you provided. Please don't attempt to put questions in answers or answers in questions. Thank you. I recommend that you review askubuntu.com/help/how-to-ask