Execute a .cmd or .batch file (hidden or minimized)

90 views
Skip to first unread message

Daniel Rohrmann

unread,
May 1, 2024, 12:32:03 AMMay 1
to innosetup
Hello, I would like to run a .cmd or .batch file (hidden or minimized) at the end of the installation. Does anyone have a suitable code for this?

Thanks and regards

Gavin Lambert

unread,
May 1, 2024, 1:24:11 AMMay 1
to innosetup
On Wednesday, May 1, 2024 at 4:32:03 PM UTC+12 Daniel Rohrmann wrote:
Hello, I would like to run a .cmd or .batch file (hidden or minimized) at the end of the installation. Does anyone have a suitable code for this?

Daniel Rohrmann

unread,
May 1, 2024, 1:43:48 AMMay 1
to innosetup
I know how to run a batch. but as you can see from my question, I am looking for a way to do this hidden or minimized. Without a visible DOS window!

Gavin Lambert

unread,
May 1, 2024, 4:29:14 AMMay 1
to innosetup
On Wednesday, May 1, 2024 at 5:43:48 PM UTC+12 Daniel Rohrmann wrote:
I know how to run a batch. but as you can see from my question, I am looking for a way to do this hidden or minimized. Without a visible DOS window!

Did you look at the Flags?

Robert van der Hulst

unread,
May 1, 2024, 4:33:33 AMMay 1
to innosetup
Flags: Runhidden ;

Robert

Op woensdag 1 mei 2024 om 06:32:03 UTC+2 schreef Daniel Rohrmann:

SAM Soft

unread,
May 22, 2024, 3:25:04 PMMay 22
to innosetup
Hi to run a batch hidden file you can used the nircmd.exe file you can find it in https://www.nirsoft.net/  I used it to hide some files. 
Clara
Reply all
Reply to author
Forward
0 new messages