4

I need to push a program that was packaged with Inno Setup. I'd like to just install it and be done, not start it yet. However, when using the /silent or /verysilent parameter, the program in question still runs after installation. After some searching around, I'm guessing the person who wrote the original package forgot to set skipifsilent in the [Run] section.

I've tried using /saveinf with the "Run this program when installation is complete" box is unchecked, and then /loadinf - no dice, it's not specified in that file.

What are the magic command line parameters to make this (otherwise very simple) install complete without starting the program afterwards? If there are none, is there a simple way to repackage it so it won't start after installation?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
SirTechSpec
  • 143
  • 6

1 Answers1

5

There's no way to skip post-install run entries from command-line, using the .inf file, or any other way.

All you can do is to de-compile the package, modify it (adding the skipifsilent flag) and re-compile.

You can use for example the Inno Setup Unpacker.

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