Archive: Setting Environment Variables at run-time


Setting Environment Variables at run-time
Hi all.

I search a function or a method to the set some environment variables (like http://nsis.sourceforge.net/wiki/Set...ment_Variables) but at run-time like the path manupulation all users/current user selection in run-time (http://nsis.sourceforge.net/Path_man...on_in_run-time).

Is anyone have already wrote a simular function ?


Those are for runtime. What exactly are you looking for?


The 'Setting Environement Variables' functions (http://nsis.sourceforge.net/Setting_...ment_Variables) uses !define to specify current/all users. It's a compile time choice. I need a runtime choice. I am re-writing these functions in the same way that the 'Path manipulation at runtime' (http://nsis.sourceforge.net/Path_man...on_in_run-time).