cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nick_Umanski
Level 7

Run .bat file without cmd window

Does anyone know the way to do this?

If I double click on a .bat file it will run without displaying any cmd window, but if I run it from within InstallShield, a black cmd window flashes up briefly, how can I suppress this.

Thanks in advance.

Nick.

_________________________
Further Info

I'm running a CA which is launching an executable stored in the directory table: [SUPPORTDIR]BuildPackages.bat

The bat file zips up a number of the installed files then deletes off the zip utility. The zip file is then used by a ClientDeploy utility installed with the Server program.
Labels (1)
0 Kudos
(2) Replies
coJeff
Level 6

Are you using the hidden option?

LaunchAppAndWait(sApp, "", WAIT|LAAW_OPTION_HIDDEN);
0 Kudos
Nick_Umanski
Level 7

No, I'm not running this from a script this is from a Custom Action that launches an executable.

This is a Basic MSI project and I try to avoid running scripts.
0 Kudos