Difference between revisions of "Set Environment Variable"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{CustomTOC}} | {{CustomTOC}} | ||
You can set a License Key as an environment variable. There are two environment variables available for Address Object: MD_LICENSE and MD_LICENSE_DEMO. These environment variables were made available so that you can change certain aspects of your applications without recompiling. You can set these both MD_LICENSE and MD_LICENSE_DEMO as environment variables at same time. If you are using variable MD_LICENSE for any other product then you can use MD_LICENSE_DEMO for Address Object or vice versa. Don't get confused with the word "DEMO" for a valid | You can set a License Key as an environment variable. There are two environment variables available for Address Object: MD_LICENSE and MD_LICENSE_DEMO. These environment variables were made available so that you can change certain aspects of your applications without recompiling. You can set these both MD_LICENSE and MD_LICENSE_DEMO as environment variables at same time. If you are using variable MD_LICENSE for any other product then you can use MD_LICENSE_DEMO for Address Object or vice versa. Don't get confused with the word "DEMO" for a valid License Key, it works same as MD_LICENSE. | ||
Latest revision as of 17:09, 16 December 2016
You can set a License Key as an environment variable. There are two environment variables available for Address Object: MD_LICENSE and MD_LICENSE_DEMO. These environment variables were made available so that you can change certain aspects of your applications without recompiling. You can set these both MD_LICENSE and MD_LICENSE_DEMO as environment variables at same time. If you are using variable MD_LICENSE for any other product then you can use MD_LICENSE_DEMO for Address Object or vice versa. Don't get confused with the word "DEMO" for a valid License Key, it works same as MD_LICENSE.
Windows
- Click Start.
- Click Control Panel.
- Click System and Security.
- Click System.
- Click Advanced system settings. (This step may require administrative access.)
- Click Environment Variables.
- Click New.
- The New System Variable Window should pop up. Type "MD_LICENSE" under the Variable Name text box.
- Next, enter the actual License Key in the Variable Value text box. Then click OK.
- You should now have the new MD_LICENSE Environment Variable in your system. Click OK to finalize the update.
![DQT API SetEnvironmentVariable 01.png](/images/c/c9/DQT_API_SetEnvironmentVariable_01.png)
![DQT API SetEnvironmentVariable 02.png](/images/9/95/DQT_API_SetEnvironmentVariable_02.png)
![DQT API SetEnvironmentVariable 03.png](/images/3/38/DQT_API_SetEnvironmentVariable_03.png)
![DQT API SetEnvironmentVariable 04.png](/images/1/1e/DQT_API_SetEnvironmentVariable_04.png)
![DQT API SetEnvironmentVariable 05.png](/images/d/d2/DQT_API_SetEnvironmentVariable_05.png)
![DQT API SetEnvironmentVariable 06.png](/images/c/cf/DQT_API_SetEnvironmentVariable_06.png)
![DQT API SetEnvironmentVariable 07.png](/images/8/89/DQT_API_SetEnvironmentVariable_07.png)
![DQT API SetEnvironmentVariable 08.png](/images/b/ba/DQT_API_SetEnvironmentVariable_08.png)
![DQT API SetEnvironmentVariable 09.png](/images/c/cf/DQT_API_SetEnvironmentVariable_09.png)
![DQT API SetEnvironmentVariable 10.png](/images/7/77/DQT_API_SetEnvironmentVariable_10.png)
Linux
- Go to the console of your LINUX Machine.
- Write the following command in your console, it will set one License Key for all the Melissa Data Objects installed on that machine ‘export MD_LICENSE = “XXXXXXXXXXXXXXXX” ’
- You can use variable ‘MD_LICENSE_DEMO’ if you need to use another License Key for Melissa Data Objects.
- (To set environment variable permanently for LINUX you need to add this in your profile.)