Your program might require some environment variable to be set properly in order to run successfully. In this case you need to set this environment variable in the Linux shell, since Wine will pass on the entire shell environment variable settings to the Windows environment variable space. Example for the bash shell (other shells may have a different syntax !):
export MYENVIRONMENTVAR=myenvironmentvarsetting |
Note however that there is an exception to the rule: If you want to change the PATH environment variable, then of course you can't modify it that way, since this will alter the Unix PATH environment setting. Instead, you should set the WINEPATH environment variable. An alternative way to indicate the content of the DOS PATH environment variable would be to change the "path" setting in the wine config file's [wine] section.