11 Replies Latest reply on Nov 26, 2018 8:49 PM by DheerajK_81

    Update and Installations Stalling

    user_353472080

      I tried to update from PSoC Creator 4.0 to 4.1 today. The update stalled. There was no error message or window, just this sitting in my taskbar:

      I then tried to uninstall everything and install 4.2 from scratch. That installation stalled in the same spot.

       

      I have gone through: Troubleshooting PSoC® Creator™ Issues - KBA217546

      but have not been able to find a solution.

       

      When I run C:\Program Files (x86)\Cypress\PSoC Creator\4.2\Updater\PSoCCreatorInstaller.exe, I get an unhandled exception stating, "The given key was not present in the dictionary"

       

      Any ideas?

        • 1. Re: Update and Installations Stalling
          DheerajK_81

          Looks like there was some corruption during installation and might be the problem of incorrect registry entry.

           

          Try reinstalling the PSoC Creator/Programmer after cleaning up registry entries by using this tool. CyInstaller installs several MSI files; each MSI file has its own unique registry entry. Before installing the MSI package, Windows checks whether a registry entry related to the MSI being installed is already available. If available, the installer skips the related step. Therefore, any incorrect registry entry can lead to installation issues.

           

          Regards,

          Dheeraj

          • 2. Re: Update and Installations Stalling
            user_353472080

            Thanks. I used the tool to remove all entries related to Cypress and removed all folders that were suggested in the Solution Guide. I still get the same issue. I have gone through this process 3-4 times now.

            • 3. Re: Update and Installations Stalling
              user_353472080

              Any other suggestions to get PSOC Creator up and running again?

              • 4. Re: Update and Installations Stalling
                DheerajK_81

                Please try the following to check if there are stray keys present:

                 

                Use Win + R to open the run window. Type regedit to open the registry editor. Once the dialog box opens please navigate to HKEY_CURRENT_USER\Software\ and check if you have a folder named Cypress. If present, then please go ahead and delete it. Then perform a complete reinstall of PSoC Creator from the following link: http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide

                 

                Let me know your observations.

                 

                Regards,

                Dheeraj

                • 5. Re: Update and Installations Stalling
                  user_353472080

                  I re-downloaded "PSoCCreatorSetup_4.2_es100_b641.exe", used regedit to delete all Cypress registry elements, used the "RegistryRepairApplication.exe" to confirm Cypress was not installed, deleted the Cypress folder in C:\Program Files (x86), disabled my antivirus software, and ran the installer. It still fails in the same way.

                  • 6. Re: Update and Installations Stalling
                    user_353472080

                    After the installation stalled, I killed it with Task Manager and ran the installer that had been unpacked to "C:\Program Files (x86)\Cypress\PSoC Creator\4.2\Updater". I got this error:

                    Here is the full message:

                     

                    See the end of this message for details on invoking

                    just-in-time (JIT) debugging instead of this dialog box.

                     

                     

                    ************** Exception Text **************

                    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

                       at System.ThrowHelper.ThrowKeyNotFoundException()

                       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

                       at Cypress.CyInstaller.Core.CyCatalogMgr.GetInstallationList()

                       at Cypress.CyInstaller.Core.CyCatalogMgr.SetInstallationMode(CyInstallationType type)

                       at Cypress.CyInstaller.Core.CyInstallerCore.SetInstallationType(CyInstallationType type)

                       at Cypress.CyInstaller.Gui.CyInstallerWizard.optionsPage_NextButtonClick(Object sender, WizardPageCancelEventArgs e)

                       at ActiproSoftware.Wizard.WizardPage.a(WizardPageCancelEventArgs A_0)

                       at ActiproSoftware.Wizard.Wizard.a(WizardPageCancelEventArgs A_0)

                       at ActiproSoftware.Wizard.Wizard.RaiseCommand(Command command)

                       at ey.b(EventArgs A_0)

                       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

                       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

                       at System.Windows.Forms.Control.WndProc(Message& m)

                       at System.Windows.Forms.ButtonBase.WndProc(Message& m)

                       at System.Windows.Forms.Button.WndProc(Message& m)

                       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

                       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

                     

                     

                     

                     

                    ************** Loaded Assemblies **************

                    mscorlib

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8793 (QFE.050727-8700)

                        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll

                    ----------------------------------------

                    PSoCCreatorInstaller

                        Assembly Version: 21.108.278.8

                        Win32 Version: 21.108.278.8

                        CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/Updater/PSoCCreatorInstaller.exe

                    ----------------------------------------

                    cykitcustomizer

                        Assembly Version: 21.108.278.8

                        Win32 Version: 21.108.278.8

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/cykitcustomizer.DLL

                    ----------------------------------------

                    cyinstallercore

                        Assembly Version: 21.108.0.0

                        Win32 Version: 21.108.0.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/cyinstallercore.DLL

                    ----------------------------------------

                    System.Drawing

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8681 (QFE.050727-8600)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

                    ----------------------------------------

                    System

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8791 (QFE.050727-8700)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

                    ----------------------------------------

                    cyinstallergui

                        Assembly Version: 21.108.0.0

                        Win32 Version: 21.108.0.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/cyinstallergui.DLL

                    ----------------------------------------

                    System.Windows.Forms

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8653 (QFE.050727-8600)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

                    ----------------------------------------

                    System.Xml

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8773 (QFE.050727-8700)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

                    ----------------------------------------

                    cyinstallerlibs

                        Assembly Version: 21.108.0.0

                        Win32 Version: 21.108.0.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/cyinstallerlibs.DLL

                    ----------------------------------------

                    System.Configuration

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.7057 (QFE.050727-7000)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

                    ----------------------------------------

                    System.Security

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8784 (QFE.050727-8700)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll

                    ----------------------------------------

                    Accessibility

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.7057 (QFE.050727-7000)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

                    ----------------------------------------

                    System.Data.SqlXml

                        Assembly Version: 2.0.0.0

                        Win32 Version: 2.0.50727.8773 (QFE.050727-8700)

                        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll

                    ----------------------------------------

                    cyinstallertracking

                        Assembly Version: 21.108.0.0

                        Win32 Version: 21.108.0.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/cyinstallertracking.DLL

                    ----------------------------------------

                    ActiproSoftware.Wizard.Net20

                        Assembly Version: 3.0.144.0

                        Win32 Version: 3.0.144.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/ActiproSoftware.Wizard.Net20.DLL

                    ----------------------------------------

                    ActiproSoftware.WinUICore.Net20

                        Assembly Version: 1.0.104.0

                        Win32 Version: 1.0.104.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/ActiproSoftware.WinUICore.Net20.DLL

                    ----------------------------------------

                    ActiproSoftware.Shared.Net20

                        Assembly Version: 1.0.104.0

                        Win32 Version: 1.0.104.0

                        CodeBase: file:///c:/program%20files%20(x86)/cypress/psoc%20creator/4.2/updater/ActiproSoftware.Shared.Net20.DLL

                    ----------------------------------------

                     

                     

                    ************** JIT Debugging **************

                    To enable just-in-time (JIT) debugging, the .config file for this

                    application or computer (machine.config) must have the

                    jitDebugging value set in the system.windows.forms section.

                    The application must also be compiled with debugging

                    enabled.

                     

                     

                    For example:

                     

                     

                    <configuration>

                        <system.windows.forms jitDebugging="true" />

                    </configuration>

                     

                     

                    When JIT debugging is enabled, any unhandled exception

                    will be sent to the JIT debugger registered on the computer

                    rather than be handled by this dialog box.

                    • 7. Re: Update and Installations Stalling
                      DheerajK_81

                      Have you by any chance chosen Notepad as the default program to open bat files?

                       

                      Regards,

                      Dheeraj

                      • 8. Re: Update and Installations Stalling
                        user_353472080

                        Good idea, but no. Batch files open in a command prompt on my computer. I just tested another one to confirm.

                        • 9. Re: Update and Installations Stalling
                          DheerajK_81

                          As it mentions in the error, can you try to do the following:

                           

                          1. Open Windows Run command. Shortcut=> windows key + r.
                          2. Type "microsoft.net" - MS .Net folder opens up.
                          3. Open "Framework"/"Framework64" folder(based on your processor).
                          4. Select specific FW version folder e.g. "v4.0.30319"
                          5. Open config folder.
                          6. Machine.config will be available there

                           

                          Please search for jitDebugging in that file and then set the value to false. Check if this works.

                           

                          Regards,

                          Dheeraj

                          • 10. Re: Update and Installations Stalling
                            user_353472080

                            "jitDebugging" did not exist in either C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config or C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config

                            • 11. Re: Update and Installations Stalling
                              DheerajK_81

                              Okay. Do you have any sniffer attached during the install? Please disable any such softwares which might be interfering with the install.

                               

                              Regards,

                              Dheeraj