At times, users get Error 1720/1722 during installation, or un-installation, of Studio For Winforms. The error is, more or less, the same; however, the causes may vary. This blog provides possible solutions to this.
Error 1720/1722 is one of the most common errors. Following message is displayed during installation, or un-installation of any installation package: "There is a problem with this Windows Installer Package. A script required for the install to complete could not be run. Contact your support personnel or package vendor." You may also refer this to check for more, and get some meaningful information, regarding the cause(s) of this error.
Error during Installation Case 1 There might be issues with setup trying to detect Visual Studio. As per the version of Visual Studio installed on the machine, the setup looks for the install path to VS in registry, here, to find InstallDir key : For 32 bit : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1 For 64 bit : HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.1 To fix this, edit the path in InstallDir, which matches the path to the latest version of Visual Studio. For example: For VS2008, change it to: For 32 bit : C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE For 64 bit : C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE Reboot the machine, and run the installer. Case 2 If the issue persists, try performing a silent install using command prompt. However, it is recommended to deactivate all your licenses installed, regarding C1, from the machine, before you initiate the install. Steps to deactivate licenses and perform Silent Install are as follows: 1. Run the command prompt with administrative rights. 2. Type the following command to change the directory to the path where C1LicenseActivation is installed. The utility is generally installed in Program Files\Common Files\ComponentOne Shared folder : cd C:\Program Files\Common Files\ComponentOne Shared 3. Type the following command and enter your name, Company Name and serial key to be deactivated : C1LicenseActivation.exe /d 4. Type the following command to change the directory to the path where the installer location cd