Setting environment variable that works with Wine
Hi,

I have a complex installer that works well under native Windows versions. Here I extend the PATH variable and set a completely new environment variable using the method described at http://nsis.sourceforge.net/Setting_...ment_Variables

But that does NOT work when I install that software under Linux using Wine. Is there a way to set a environment variable that works perfectly in both systems?

Thx!

Edit: posting a Link to the NSIS-pages at SF.net seems not to work, so that's the method I'm using for setting environment variables:

System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("name", "value").r0'