Trying to upgrade TDM Portal and have got an issue which is blocking in installing the tool.
Getting below error in the installation log that got generated:
======================================================================
Action start 16:21:10: BackupAppConf.
Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action BackupAppConf script error -2146828212, Microsoft VBScript runtime error: Path not found Line 11, Column 2,
MSI (s) (50:8C) [16:23:24:951]: Product: CA Test Data Manager Portal -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action BackupAppConf script error -2146828212, Microsoft VBScript runtime error: Path not found Line 11, Column 2,
======================================================================
And these Fatal errors:
MSI (c) (90:70) [15:57:53:445]: Doing action: FatalError
Action 15:57:53: FatalError.
Action start 15:57:53: FatalError.
Info 2826. Control BottomLine on dialog FatalError extends beyond the boundaries of the dialog to the right by 2 pixels.
Action 15:57:53: FatalError. Dialog created
MSI (c) (90:E0) [15:57:56:343]: Doing action: AI_SHOW_LOG
Action 15:57:56: AI_SHOW_LOG.
Action start 15:57:56: AI_SHOW_LOG.
MSI (c) (90:40) [15:57:56:359]: Invoking remote custom action. DLL: C:\Users\<userid>\AppData\Local\Temp\6\MSIEDFD.tmp, Entrypoint: LaunchLogFile
Action ended 15:57:56: AI_SHOW_LOG. Return value 1.
MSI (c) (90:E0) [15:57:56:502]: Doing action: AI_RemoveTempFiles
Action 15:57:56: AI_RemoveTempFiles.
Action start 15:57:56: AI_RemoveTempFiles.
MSI (c) (90:04) [15:57:56:502]: Invoking remote custom action. DLL: C:\Users\<userid>\AppData\Local\Temp\6\MSIEE8A.tmp, Entrypoint: RemoveTempFiles
MSI (c) (90!68) [15:57:56:518]: PROPERTY CHANGE: Adding AITEMPFILESREMOVED property. Its value is 'YES'.
TDM Portal
The error message in installation log file says "..Path not found.." which could mean several reasons (path doesn't exists, path contains invalid characters, path is too long...).
The files/folders found in the logs - are backup directories stored inside the existing Portal installation folder caused file paths to be longer than Windows limit (248 characters) and that's why the installer failed to copy files during installation.
for example : C:\Users\TEMP.XXXXI.000\AppData .....
In this particular example TEMP.XXXXI.000 is too much but TEMP.XXXXI.0 works.
So in general updating Portal with user names longer than 13 characters most probably fails with the same error.
Here are the 3 options you have:
Steps for #3:
Open the Start menu, type regedit, and press Enter to launch the Registry Editor.
Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
Right-click the LongPathsEnabled value and select Modify.
Change the Value data from 0 to 1.
Click OK and restart your computer.