Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: How to run Windows programs

  1. #1

    Default How to run Windows programs

    I'd appreciate what I need to do to run Windows programs.

  2. #2
    Join Date
    Mar 2009
    Location
    London
    Posts
    426

    Default Re: How to run Windows programs

    Hi,

    You may be able to run the program in wine:
    Code:
    wine program.exe
    To do that you obviously need to install wine:
    Code:
    sudo zypper in wine
    Regards,
    Barry.
    Desktop: openSUSE 11.3 (x86) LXDE
    Laptop: Arch Linux (x86_64) GNOME 3

  3. #3

    Default Re: How to run Windows programs

    OK. Installed wine. The Windows program I want to run is a setup.exe file to install the program. I get this error

    wine could not load L"C\Windows\\System32\\setup.exe"

    I created a Windows\System32 folder in root and copied the program there. Any ideas how to overcome this error?

  4. #4

    Default Re: How to run Windows programs

    What program are you trying to install/ run?
    As for wine, the openSUSE package of it is kinda borked as it creates no menu entries so I suggest for new users is to install playonlinux instead.
    It creates both menu entries and makes life a little easier.

  5. #5
    Will Honea NNTP User

    Default Re: How to run Windows programs

    stubble wrote:

    >
    > OK. Installed wine. The Windows program I want to run is a setup.exe
    > file to install the program. I get this error
    >
    > wine could not load L"C\Windows\\System32\\setup.exe"
    >
    > I created a Windows\System32 folder in root and copied the program
    > there. Any ideas how to overcome this error?


    When you are running wine, it assumes the presence of a C: drive. On
    initialization, wine should create a (hidden) folder .wine in your home
    directory. In that folder are a couple of folders (dosdevices and
    drive_c). The drive_c folder is the image that wine uses for its' virtual
    C: drive, so that's where the win-specific data/program is stored.

    Your problem sounds a bit funny - I have no setup.exe in cWindows\System32
    and I've install several apps. Setup.exe is an executable included with
    the app, not the system. When I install something, I generally make the
    directory containing the app's setup.exe the current working directory
    (cd ...). Even that sometimes fails with complex installs like Microsoft
    developers Studio - that one took some serious guess work to get totally
    done.

    --
    Will Honea

  6. #6
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: How to run Windows programs

    Excuse me if this seems obvious, but you are entering the wine command in the same directory as the setup.exe file, aren't you? If Windows doesn't find the app in the current directory, it will scan directories in the PATH environment variable, such as system32.

  7. #7
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: How to run Windows programs

    You should have run: wine winecfg

    and to install use a terminal and do

    wine ./setup.exe*

    *or whatever the .exe is called
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  8. #8

    Default Re: How to run Windows programs

    OK. There was no /home/user/.wine/ directory after I installed wine. So I created one and added the two sub-folders mentioned. I copied the setup.exe to the drive_c sub-folder and ran it from there. It was a bit of a mess. Although it did download the Wine Gecko Installer, and eventually did install. But it didn't install to /home/user/.wine/drive_c/Program Files/. I found it here linux-rqai:~/.wine/drive_c/Program Files/. So which folder is this in? I can't seem to find it except when browsing with Konsole Terminal Super User Mode. Haven't yet tried to do anything serious with the program, since I cannot find where it's located, except by using Konsole and running it from the command line. But on first glances, it appears to be working.

  9. #9
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: How to run Windows programs

    You didn't install as su did you!?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  10. #10

    Default Re: How to run Windows programs

    I installed using "wine setup.exe". Anyhow, I found my program files they were in /root/.wine/drive_c/Program Files/

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •