This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Run .bat file without cmd window
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2008
09:31 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2008
01:02 PM
Are you using the hidden option?
LaunchAppAndWait(sApp, "", WAIT|LAAW_OPTION_HIDDEN);
LaunchAppAndWait(sApp, "", WAIT|LAAW_OPTION_HIDDEN);
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2008
03:34 AM
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.
This is a Basic MSI project and I try to avoid running scripts.