1

Is it possible to force using some flags like /NORESTART, /NOCLOSEAPPLICATIONS or /VERYSILENT in Inno Setup without using command line?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
joe
  • 137
  • 1
  • 6

1 Answers1

0

There's no generic solution to your question that would cover all switches. Implementing a functionality of each switch needs an ad-hoc implementation (and hence requires a separate question).

Actually, you can use .inf file instead of the command-line. But I assume that this not what you ask for.

/VERYSILENT is answered here already:
Run installation using Inno Setup silently without any Next button or Install button
.

I'm answering the /NORESTART switch here.


You can hide Yes/No restart radio buttons (and select the No). And update the screen text accordingly.

See Avoid restart prompt in Inno Setup.

Additional handling is needed if you have postinstall entries in the [Run] section.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992