Download the platform removal tool from the Winchill Extension Center available here.
Login with your PTC support email and password, make sure to select the appropriate Windchill version and click Manage Platform. The removal tool is found at the bottom of the page.
Uninstall all the extensions using the manager before running this tool
The removal tool is run with the same command as the installer
Ensure the wex folder is removed from Windchill. If not, manually remove it. You may have to close any open processes such as the Wex Shell.
Undeploy all extensions using the wex shell (except the kernel)
Remove this line from declarations.xconf
<ConfigurationRef xlink:href="wex/packages/com.wincomplm/wex-kernel/wex.xconf"/>
From a Windchill shell run
xconfmanager -p
Remove the following file
codebase\config\mvc\wex-kernel-configs.xml
Remove the wex-kernel.jar
from codebase/WEB-INF/lib
area
Remove the entire wex directory from Windchill home directory