Skip to main content
Pneal.1
Associate
May 6, 2021 12:32 PM UTC
Question

STM32CubeProgramer silent install.

Hi,

I've 12 build and test servers to install the STM32Cubeprogrammer on.

I'm not looking forward to going this manually.

Especially as I've got to side install 2 versions.

I'd very much like to make this part of our infrastructure configuration as code (in ansible).

Is there a way to silently install the STM32Cubeprogrammer?

Pete.

P.S It will also be useful for automation prep of new start dev machines.

This topic has been closed for replies.

9 replies

Pavel A.
May 6, 2021 3:44 PM UTC

There are 3rd party tools that capture and analyze install process and make automated installer from that.

Whether the software publisher approves this or not (mandatory license read & agree nonsense...) is a different question.

--pa

Houda GHABRI
ST Employee
May 7, 2021 1:04 PM UTC

Hi @Pneal.1​ ,

Thanks for bringing up this interesting feedback to our attention..

I will raise this request to CubeProgrammer dev team and see how we can address this modification.

Houda

Arjo
Visitor II
Feb 3, 2022 9:02 AM UTC

Hey @Pneal.1​ and @Houda GHABRI​ ,

I am also very interested in what is possible. My server administrator is asking the same question. He wants to install CubeIDE through ansible.

Can you maybe give an update in its current status? I know the original question is about the programmer, but I think it applies to CubeIDE as well.

Many thanks in advance,

Arjo Poldervaart

Pneal.1
Pneal.1Author
Associate
Feb 3, 2022 9:25 AM UTC

Sadly, at this time we are manually installing it. :\

I've been making choco install packages for many of our other tools. (like IAR workbench),

but simply can not for the cudeIDE.

On a side note, it does make you wonder how ST tests versions of the cudeIDE in an automated way.

Anyway, @APold.1 if your team finds an easy way, please share. :)

Thanks,

pete

DPhil.5
Visitor II
Apr 20, 2022 8:44 PM UTC

So far, I've extracted the files from the initial (Windows) executable file with WinRAR and got another Exe and a folder.

I tried just running the Exe and it doesn't appear to install.

I tried it with /qn and with /s, neither of which appear to work. I'm also interested in the answer though! I'm hopeful that there is an update.

Rden .1
Visitor II
Dec 7, 2022 10:26 AM UTC

I'm looking for the same possibilities for our students. I'm creating a general installer which should install STM32CubeProgrammer silently by passing the install directory somehow.

Visitor II
Nov 15, 2023 5:34 PM UTC

Is there any news on this?

Pavel A.
Nov 15, 2023 5:49 PM UTC

@Houda GHABRI ?

 

Visitor II
Jul 24, 2025 3:27 PM UTC

 

Hi,

I have had a similar problem and after a bit of digging, I found that the installation package is just a regular jar file based on IzPack.

 

Adapt the following to perform automation around the installation:

$ unzip -x 'jre/*' stm32cubeprg-lin-v2-20-0.zip # we don't want the bundled jre
$ java -DINSTALL_PATH=. -jar SetupSTM32CubeProgrammer-2.20.0.exe -options-system # install to the current working directory

 

Best,

Björn