0

I want to develop an application for install multiple software in silent mode in one click, selecting witch software I want to install with a selection checkboxes and then click on a button.

For every checkbox selected, the program call a .bat that install this software in silent mode. For example install VSCode with the code VSCodeUserSetup.exe /VERYSILENT /NORESTART /MERGETASKS=!runcode

The problem is that I'm a javascript developer and I don't know what is the better language or what software can I use for develop what I want. This software it's only for me, so, I only need a simple window with checkboxes and a simple button to install it.

I try to use nodejs with child_process, but it's not working for me. I used this code and it doesn't work:

const { exec } = require("node:child_process");
exec(
  "C:/Users/***/Desktop/software/winrar/winrar.bat",
  (err, stdout, stderr) => {
    if (err) {
      console.error(err);
      return;
    }
    console.log(stdout);
  }
);

Can anyone help to me with saying what tool and language can I use to develop it?

Thanks

0 Answers0