Run .exe/.msi/.bat/.lnk files
There are two ways to start these executables in Bottles
An executable can be used to start or install a program in a bottle. In Bottles you can run these files in two ways:
- from the GUI using the Run executable feature
- using the CLI (this can be useful if you don't want to show Bottles GUI)
Under the bottle name we find the Run executable button:
Bottle - Details
Pressing it will open a window from which to select the executable of our interest, once selected it will be executed in the bottle.
Some applications require you to start with arguments. As you can see from the previous image, next to Run executable there is an arrow, by pressing it you can select the item Run with arguments. Once pressed, a screen will appear where you can enter our arguments:
Bottle - Details - Run executable with arguments
Once finished, we press on Run and select the executable to start it in the bottle.
To start an executable from the CLI, we can proceed in two ways.
Simply passing the path of the executable to the command to start Bottles, the GUI will appear asking which bottle to start it. It is also possible to tell Bottles from the preferences to close automatically after starting the executable.
Otherwise you can avoid the GUI by specifying the parameters:
bottles -b bottle_name -e /full/executable/path
bottles -b bottle_name -l /full/lnk/path
In this way the Bottles GUI will not be displayed, useful if we want to create a custom Desktop Entry to start our favorite applications.