Is there any way to set user environment variables?
I didn't see any threads on the forum or anything in the help relating to this.
Is there any way to set user environment variables?
I didn't see any threads on the forum or anything in the help relating to this.
Andrew,
You can use the "Edit Environment Variable..." script function to add and remove (system) environment variables.
User-specific variables are located in HKEY_CURRENT_USER\Environment. You can't handle this from an elevated running installer, so "user-specific" environment variable manipulation is not built-in and you have to handle this via the registry functions. Please note that you should never do any per-user data manipulation from an elevated running app because you are doing this in the wrong user context if the app has administrator execution level privileges.
Does this help?
Friedrich
Yes it does. Thank you.
You are very welcome
Friedrich
There are currently 1 users browsing this thread. (0 members and 1 guests)