Share via

I have issue in installing HMIWeb Display Builder

Ali, Maratab 0 Reputation points
2026-03-10T10:27:48.3+00:00

Windows installer error code 1720. A script required to run this to complete.
I have run the commands msiexec /unregister
msiexec /regserver
regsvr32 scrrun.dll

 Still the issue is persisting even checked for the services for Windows installer no help.
please assist

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

3 answers

Sort by: Most helpful
  1. Ramesh Srinivasan 78,665 Reputation points Independent Advisor
    2026-03-10T12:59:30.0566667+00:00

    Hi Ali,

    The Windows Installer error occurs if it can't execute script-based custom actions. Please open Command Prompt (admin) and run the following command to install the VBScript feature:

    DISM /Online /Add-Capability /CapabilityName:VBSCRIPT~~~~
    

    Post the output here.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Q&A Assist
    2026-03-10T10:28:02.2866667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error 1720 indicates a Windows Installer problem running a custom action script. Since Windows Installer is already re-registered and the service is running, use these additional steps:

    1. Verify Windows Installer engine health
      1. Open Command Prompt as administrator.
      2. Run:
              msiexec
        
        If no error appears, the MSI engine is functioning.
    2. Confirm Windows Installer service startup type
      1. Press Win+R → services.msc → Enter.
      2. Locate Windows Installer → right‑click Properties.
      3. Ensure Startup type is Manual, click OK.
      4. Right‑click Windows InstallerStart.
      5. Retry the HMIWeb Display Builder installation.
    3. Enable verbose MSI logging for the failing install
      1. Open an elevated Command Prompt.
      2. Run the HMIWeb MSI with logging, for example:
              msiexec /i "C:\Path\To\HMIWeb.msi" /L*v "C:\Temp\HMIWebInstall.log"
        
      3. After it fails, open the log and search for Return Value 3. The lines immediately before that show which script/custom action failed. Use that information with the vendor’s support to identify the exact cause.
    4. Check for corrupted or incomplete installation media
      1. If installing from CD/DVD or network share, copy the entire installer folder locally (for example to C:\Install\HMIWeb) and run setup.exe or Autorun.exe from there.
      2. If downloaded, download a fresh copy from the official source and run it locally.
    5. Use the Program Install and Uninstall troubleshooter
      1. Run the “Fix problems that programs cannot be installed or uninstalled” troubleshooter to repair MSI-related registry issues that can break custom actions.
      2. Retry the installation.
    6. Analyze the MSI log with Wilogutl (optional, advanced)
      1. Install the Windows SDK and use Wilogutl.exe against the log file:
              wilogutl /q /l C:\Temp\HMIWebInstall.log /o C:\Temp\HMIWebDiag
        
      2. Review the generated report for the failing custom action or missing DLL referenced by the script.

    If the log shows a specific DLL or script file cannot be run, that typically must be fixed by the HMIWeb Display Builder vendor (updated package, prerequisites, or a repair script), so provide them the log section around Return Value 3.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.