CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Linux
Discussion about CrossOver Linux

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

How to install a single Windows executable.

Hi,

A long time ago I purchased a program called "mp3Trim Pro". It's a Windows program which comes as a single executable program file. On Windows you simply create a folder and run the program by clicking on it or make a shortcut to it That actually works on my Linux Mint computer with Crossover Linux installed also, but I would like to install it in Crossover Linux so that I get an entry in the menu instead of having to find the program file and click on it every time I want to run it.

You can create an entry using the "cxmenu" program (i.e. /opt/cxoffice/bin/cxmenu or ~/cxoffice/bin/cxmenu). It's a command-line tool that's not really designed for non-technical use. You can invoke it with the --help option to learn about it.

An example command might be:


/opt/cxoffice/bin/cxmenu --bottle MyBottle --create StartMenu/Programs/mp3Trim\ Pro --type raw --command /path/to/mp3trimpro.exe --install

Of course, you'll have to supply your real bottle name and the real path to the .exe file. I think the path can be its Unix path, but it may need to be a Windows-style path. (Since bottles typically map the Z: drive to the Unix root directory, you can usually just prepend "Z:" to a Unix path to get a Windows path.)

In a future release of CrossOver, this functionality will be included in the GUI.

Ken Thomases wrote:

You can create an entry using the "cxmenu" program (i.e.
/opt/cxoffice/bin/cxmenu or ~/cxoffice/bin/cxmenu). It's a
command-line tool that's not really designed for non-technical use.
You can invoke it with the --help option to learn about it.

An example command might be:

/opt/cxoffice/bin/cxmenu --bottle MyBottle --create StartMenu/Programs/mp3Trim\ Pro --type raw --command /path/to/mp3trimpro.exe --install



> Of course, you'll have to supply your real bottle name and the real
> path to the .exe file.  I *think* the path can be its Unix
> path, but it may need to be a Windows-style path.  (Since bottles
> typically map the Z: drive to the Unix root directory, you can
> usually just prepend "Z:" to a Unix path to get a Windows path.)

> In a future release of CrossOver, this functionality will be
> included in the GUI.

Thanks!

That did the trick! I know my way around a terminal, so using cxmenu was not a problem. Getting this functionality built into Crossover Linux itself will be a great help though.

Ken Thomases wrote:

You can create an entry using the "cxmenu" program (i.e.
/opt/cxoffice/bin/cxmenu or ~/cxoffice/bin/cxmenu). It's a
command-line tool that's not really designed for non-technical use.
You can invoke it with the --help option to learn about it.

In a future release of CrossOver, this functionality will be
included in the GUI.

Sorry, but there is a much simpler, thankfully, way.

1) Go to: Applications -> CrossOver -> Run a Windows Command
2) Browse for the EXE file you want to create an icon.
3) Press, Create Shortcut.

A link would be created on your linux desktop, that after a first run, where linux would ask to trust or not, it would become an icon you can use on desktop or toolbar.

This should be on the FAQs.

And i should get a license to Crossover 9 for pointing it out ... just kidding ... but you can send me one if you want :D

That feature is not available in the current release of our Linux GUI. That's why I referred to it being in a future release. Please don't discuss betas/alphas/nightlies or other pre-release versions of CrossOver in the general forums.

Really? I thought 8.0 was not a beta.

The feature is in the public release version of Crossover for linux. It may be added to another spot in the newer versions I wouldn't know as I haven't yet tried installing one of the betas. However going into any normal Crossover Pro install as he describes has the create shortcut button and it does create the shortcut. You do not do it through the configuration gui though and maybe that is where confusion is arising - you do it through the "run windows command" and the button only shows up once you browse for the windows .exe file. According to my crossover configuration gui I'm running 8.0.0 if that helps.

Huh, my mistake. I could have sworn the Create Shortcut button was not added to the Run Windows Command window in 8.x. Sorry.

(I'm a Mac guy, and am not well versed in our Linux GUI.)

Hello
I seem to be in the same boat as Christain. I have a program called TNPP_cl.exe that will run in Windows and it is one of those that is by itself.
I have tried
1) Go to: Applications -> CrossOver -> Run a Windows Command
2) Browse for the EXE file you want to create an icon.
3) Press, Create Shortcut.
but it does not create an Icon and when I try to run the program it give me errors "Access Violation at address 600A8F43. Read of address 00000000"

Any ideas of what to try

Thank you for your time
Sares

Sares wrote:

Hello
I seem to be in the same boat as Christain. I have a program called
TNPP_cl.exe that will run in Windows and it is one of those that is
by itself.
I have tried
1) Go to: Applications -> CrossOver -> Run a Windows Command
2) Browse for the EXE file you want to create an icon.
3) Press, Create Shortcut.
but it does not create an Icon and when I try to run the program it
give me errors "Access Violation at address 600A8F43. Read of
address 00000000"

Any ideas of what to try

Thank you for your time
Sares

Hi,

I don't know about the no icon creation business (you haven't stated which OS you use),
but the error is indicative of the actual .exe file launching and crashing in crossover/wine.
To deal with that, you should probably have a read of ;

http://www.codeweavers.com/support/wiki/UnsupportedApps

Cheers!

Ken Thomases wrote:

You can create an entry using the "cxmenu" program (i.e.
/opt/cxoffice/bin/cxmenu or ~/cxoffice/bin/cxmenu). It's a
command-line tool that's not really designed for non-technical use.
You can invoke it with the --help option to learn about it.

An example command might be:

/opt/cxoffice/bin/cxmenu --bottle MyBottle --create StartMenu/Programs/mp3Trim\ Pro --type raw --command /path/to/mp3trimpro.exe --install



How is this done on Mac with Crossover 9.0.1? There is no /opt/cxoffice directory and the application bundle has no cxoffice in its bin directory either.

You should ignore that advice of mine that you quoted. I only wrote it because I was mistaken about the lack of a certain feature in our Linux GUI in version 8.x.

In any case, both products have a simple button to create a menu item for a command. In Linux, it's part of the Run Windows Command tool. On the Mac, it's part of the Run Command dialog, accessible from the Programs menu. You have to have created a bottle first. And you should do a test run of the command before saving it, to make sure it works the way you want it.

1 to 12 of 12

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzQxNzA1NjM5LCJjc3JmX3Rva2VuIjoiZFU1cDJHTW5xY0FOQnRWOCIsImdkcHIiOjB9