Skip to main content
thayden
Associate II
December 28, 2023
Question

Installation Issues - Infinite Loop

  • December 28, 2023
  • 11 replies
  • 3991 views

I've got a brand new VM running Windows 11 pretty much off the shelf. I can install and run Cube IDE but when I try to install the STM32CubeProgrammer (64 bit version) I get into an infinite loop where the following happens:

- It opens the Install Wizard which then closes

- It opens the blue "STM32 Cube Programmer" window, which then closes

- It opens the Install Wizard which then closes

Here is a video of the behavior: https://www.loom.com/share/b3ce5e7a79ad425d840296845fd0c1ed

The only way I can exit this loop is to reset the whole machine. It's not installed, so I can't uninstall it. I tried removing everything, upgrading java, and still the same problem. Any suggestions would be appreciated. Thank you!

11 replies

Explorer
September 9, 2024

I encountered the same issue on a freshly setup Windows 11 VM.

I was finally able to get the installation to go through by somewhat dumb luck. I'm not sure if it's reproducible because the process was too annoying to bear repeating. I got it to interrupt the loop by ctrl-alt-del in host followed by vm.

  • System java version: 1.8.0_265 (extracted from bundled win64_v2-7-0 installer) *
  • started win64_v2-7-0 installer (observed installer crash/restart loop for 5-10 secs)
  • accidentally pressed ctrl + alt + delete (caused host system ctrl + alt + delete menu to come up)
  • pressed cancel
  • VM menu -> Insert -> Ctrl-Alt-Del
  • installer crash loop stops, expected screen with "next" and "cancel" options appears
  • install as normal

 

I tried most combinations of the following versions of installer/jre in 32 and 64 bit: **

installers:

en.stm32cubeprog_v2-5-0 ***
en.stm32cubeprg-win64_v2-7-0
en.stm32cubeprg-win64-v2-17-0
en.stm32cubeprg-win32_v2-7-0
en.stm32cubeprg-win32-v2-17-0

 

system java installed ****

none (both before installing any version of java and after removing JAVA_HOME and all java/bin from PATH)

openjdk 1.8.0_265 (extracted from bundled cubeprg-win64_v2-7-0 installer)

amazon-corretto-8.422.05.1-windows-x86-jre
amazon-corretto-8.422.05.1-windows-x86-jdk
amazon-corretto-8.422.05.1-windows-x64-jre
amazon-corretto-8.422.05.1-windows-x64-jdk
openjdk-11.0.2_windows-x64_bin
openjdk-17.0.2_windows-x64_bin
amazon-corretto-21.0.4.7.1-windows-x64-jdk
openjdk-22.0.2_windows-x64_bin

* note: The installer should not require any jre/jdk, but I experimented with many different versions because it seemed like javaw was crashing while starting the installer.

** in addition to underlying system java, I experimented with extracting the original stm32cubeprogrammer installer .exes and replacing the contained jre with various versions from above before running the extracted .exe

*** note: does not come bundled with jre. fails to start, citing requiring JRE 1.8.0_66-10.99.99. Attempted with jre/jdk 1.8.0_422, and jre 11, 17, 21, 22

**** note: java installed by unzipping to a specified folder and updating PATH and JAVA_HOME sys/environment variables