Installation locations for extensions
By default, extensions are installed to a general user-writable location for your operating
system. To view the location, run the SHOW EXTPATHS
syntax
command. The output displays a list of locations, under the heading "Locations for extension
commands," for installing extensions. Extensions are installed to the first writable location in the
list.
You can override the default location by defining a path with the SPSS_EXTENSIONS_PATH environment variable. For multiple locations, separate each with a semicolon on Windows and a colon on Linux and Mac. The specified location must exist on the target computer. After you set SPSS_EXTENSIONS_PATH, you must restart IBM® SPSS® Statistics for the changes to take effect.
Custom dialogs, contained in extension bundles, are installed to the first
writable location in the list under the heading "Locations for custom dialogs" in the output from
the SHOW EXTPATHS
syntax command. You can override the default location by defining
a path with the SPSS_CDIALOGS_PATH environment variable, with the same
specifications as for the SPSS_EXTENSIONS_PATH environment variable.
To create an environment variable on Windows, from the Control Panel:
Windows 7
- Select User Accounts.
- Select Change my environment variables.
- Click New, enter the name of the environment variable (for instance, SPSS_EXTENSIONS_PATH) in the Variable name field and enter the path or paths in the Variable value field.
Windows 8
- Select System.
- Select the Advanced tab and click Environment Variables. The Advanced tab is accessed from Advanced system settings.
- In the User variables section, click New, enter the name of the environment variable (for instance, SPSS_EXTENSIONS_PATH) in the Variable name field and enter the path or paths in the Variable value field.
Windows 10
- Enter envrionment variable in the Windows search field and click the Edit the system environment variables result that is provided. The System Properties dialog opens to the Advanced tab, which provides the Environment Variables... control.
- Click Environment Variables... to open the Environment Variables dialog.
- In the User variables for <username> section, click New, enter the name of the environment variable (for instance, SPSS_EXTENSIONS_PATH) in the Variable name field and enter the path or paths in the Variable value field.