Tamir Gefen
Tamir Gefen

Reputation: 1126

How to close setup window when running installed application by Inno Setup?

I'm using Inno Setup to install WinForms utility and it works fine.

There's a minor problem that our users find quite annoying: On last step of installation, Inno Setup suggests to launch the utility that has just been installed. Most of the users want to immediately launch and (and so do I). The problem is that the setup window of Inno Setup is not closed until the user closes the installed utility. Furthermore, you can't close the setup window unless you close the installed utility first. The attached image demonstrates the installed utility (the right icon) and the Inno's setup icon (the left one).

So how to fix that problem? Please advice. Thank you

The problem occurs on all Windows: XP, 7, 2003, 2008 etc.

enter image description here

Upvotes: 4

Views: 2622

Answers (1)

TLama
TLama

Reputation: 76693

You need to add the nowait flag to that [Run] section entry. So modify your script like this:

[Run]
Filename: {app}\myexe.exe; Description: Launch my app; Flags: postinstall skipifsilent nowait

Upvotes: 4

Related Questions