After opening Siemens Software Center, installing "Teamcenter Integration for NX X" fails with:
Error Code: Incorrect function. (1)
If you try to manually run the install by first downloading the product, and then running the installer executable file, it also fails with the error, "Deploy script failed to execute successfully".
Upon reviewing the install log (C:\apps\Siemens\Teamcenter14\teamcenter_root\_Teamcenter X Integration for NX_installation\Logs\Teamcenter_X_Integration_for_NX_Install_xx_xx_xxxx_xx_xx_xx.log), notice the following lines show spaces in the user name:
The issue could be due to the spaces in the user name on the machine. Use the following steps to work around the spaces in the user name.
(1) Bring up the Windows (system) Environment Variables dialog i.e., Type in “Environment Variables” in the Windows Search box:
(2) Edit the User Variables "TEMP" and "TMP".
To start with, these variables would typically have the value "%USERPROFILE%\AppData\Local\Temp", which in this sample case would display as "C:\Users\mike hsieh\AppData\Local\Temp". Edit these variable values so they both point to a "US ASCII only" character path with NO spaces, for instance: C:\temp
(3) OK the environment/system dialogs to set the new value.
(4) Assuming the system is clean from all prior attempts to install NX X with data management, NOW install Teamcenter Integration for NX. The install should be successful now.
IMPORTANT: Once the installation is complete, the TEMP and TMP values in the Environment Variables dialog should be reverted to the original values (%USERPROFILE%\AppData\Local\Temp).