Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 18th July 2008, 09:20   #1
MiPf
Junior Member
 
Join Date: Jul 2008
Posts: 1
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'

Last edited by MiPf; 18th July 2008 at 12:09.
MiPf is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump