Installation and Upgrade > Installing and Configuring PTC FlexPLM > Updating PTC FlexPLM > Configuring PTC FlexPLM
  
Configuring PTC FlexPLM
To update PTC FlexPLM to the latest release, do the following:
1. Remove old PTC FlexPLM binary packages.
a. Navigate to the following path: <Windchill>/codebase/com/lcs/
b. Delete the wc directory and all subdirectories.
By deleting the wc directory, you ensure that the old binary files and any duplicate files are removed before the new version of PTC FlexPLM is applied. If you have customizations under <Windchill>/codebase/com/lcs/wc, such as <Windchill>/codebase/com/lcs/wc/client/*custom*.mappings.properties, reapply them.
c. Navigate to the following path: <Windchill>/codebase
d. Delete the rfa folder.
By deleting the rfa directory, you ensure that old files and any duplicate files are removed before the new build of PTC FlexPLM is applied. If you have customizations under <Windchill>/codebase/rfa, such as <Windchill>/codebase/rfa/customFolder.jsp, reapply them.
2. Expand the FlexPLM.zip file.
a. Open the JAR file with Winzip.exe or a ZIP compression tool for UNIX.
b. Extract all of the files to <Windchill>. Do not extract to the codebase folder. You must overwrite folders with the same structure. For example, extract to a temporary folder c:\temp\flexplm123\.
The structure might look like the following examples:
c:\temp\flexplm123\codebase
c:\temp\flexplm123\web-root
Copy the actual codebase folder to the root <Windchill> folder.
3. Purge the Embedded Servlet Engine cache:
a. Shut down Windchill.
b. Navigate to the following path: <Windchill>/tomcat
c. Expand the Work directory under the following path: <Windchill>/tomcat/instances/instance-***/
d. Delete the contents of the Work directory.
4. Run the automated installer script.
* 
To run the automated installer, you must have already run the Windchill update tool. Also, if you must update to a new MOR, apply the MOR before you update PTC FlexPLM. After the automated installer is finished, the system is completely configured for basic PTC FlexPLM functionality.
To use the automated installer, do the following:
a. Run one of the following scripts:
<Windchill>/src/com/lcs/build/installer/install.bat
<Windchill>/src/com/lcs/build/installer/install.sh
b. Ensure that the install.bat or install.sh script has the <Windchill> variable set. If it is not set, then the variable must already be set in your system environment.
c. The script performs all steps to set up PTC FlexPLM for you. You are prompted to enter information during the installation, such as the Windchill web admin username.
When the script has finished, exit the installer and then log on to PTC FlexPLM. If you are unable to log on to PTC FlexPLM, ensure that the PTC HTTP Server settings are correct.
If you are using a nonstandard out-of-the-box configuration of PTC HTTP Server that is supplied with Windchill, answer n (No) during the installation when the installer asks, “Do you want to configure PTC HTTP Server?” After PTC FlexPLM has been fully installed, see the Additional Configuration for Nonstandard Installations section to finish configuring the web server.
d. After the installation is complete, see Additional Configuration for Nonstandard Installations and Modifying Configuration Files for Development, Testing, and Production for other possible configuration options including the following:
Nonstandard web server configurations (Unix/Windows)
Nonstandard servlet engine configurations (Unix/Windows)
Clustering
Nonstandard Windchill context name configurations
Discussion configurations
Nonstandard Help Center configurations (Unix/Windows)
5. Reapply any customizations. This ensures that the customizations were not overwritten by either the Windchill MOR or PTC FlexPLM update process.