Q210268: Error 1720 when installing Deployment Manager for Managed Devices

Symptoms

When installing the Deployment Manager for Managed Devices (or ManageSoft for Managed Devices on older versions) you receive error 1720, the full error from the MSI log:
MSI (s) (0C:9C) [10:51:16:561]: Transforming table CustomAction.
MSI (s) (0C:D8) [10:51:16:592]: Transforming table Error.
Action start 10:51:16: MigrateSecurityClientPrep.DD3ED660_89FC_4860_84EE_56D4AC65828A.
MSI (s) (0C:D8) [10:51:16:592]: Transforming table Error.
MSI (s) (0C:D8) [10:51:16:592]: Product: ManageSoft for managed devices -- 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 MigrateSecurityClientPrep.DD3ED660_89FC_4860_84EE_56D4AC65828A script error -2147024770, : Line 2, Column 9,
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 MigrateSecurityClientPrep.DD3ED660_89FC_4860_84EE_56D4AC65828A script error -2147024770, : Line 2, Column 9,
MSI (s) (0C:9C) [10:51:16:592]: Transforming table InstallExecuteSequence.
Action ended 10:51:16: MigrateSecurityClientPrep.DD3ED660_89FC_4860_84EE_56D4AC65828A. Return value 3.
Action ended 10:51:16: INSTALL. Return value 3.

Cause

This error means that the installer is failing to execute the MigrateSecurityClientPrep custom action. This custom action executes the following VBScript:

Dim fileSystem, pluginPath
Set fileSystem = CreateObject("Scripting.FileSystemObject")
pluginPath = Session.Property("PLUGINS.DD3ED660_89FC_4860_84EE_56D4AC65828A") & "ldevmgr.dll"
If fileSystem.FileExists(pluginPath) Then
' REVISIT: how can we sensibly get the version out of it at this point
?
Session.Property("UPGRADING_SM.DD3ED660_89FC_4860_84EE_56D4AC65828A") = "YES"
Else
Session.Property("UPGRADING_SM.DD3ED660_89FC_4860_84EE_56D4AC65828A") = "NO"
End If
Basically it is looking for if a file exists (in this case C:\Program Files\ManageSoft\SecurityAnalysis\plugins\ldevmgr.dll) and then setting a property and the error means that it has been unable to do so either because it cannot run vb scripts or because the file does not exist.

Resolution

The attached file will replicate what the script is trying to do, if it produces the message that file is not found then try re-installing the agent with administrative privileges and if that doesn't help, contact Supprot quoting this article number. If a different error appears then you may not have the ability to VB scripts which suggests an issue on the OS environment e.g. permissions, Windows Script Host is not registered etc.

Comments

Powered by Zendesk