Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Hide DOS Prompt

1 reply to this topic


  • Full Members
  • 25 posts

Posted 30 May 2002 - 18:16

Hi.  One of our software engineers made an executable file called "addfilter.exe" to install an inf file he made.  In my InstallShield script, I use the following statements:
szProgram = "addfilter.exe";
szCmdLine = "/inf " + SUPPORTDIR + "NTIDrvr.inf";
LaunchAppAndWait(szProgram, szCmdLine, WAIT);
to install the inf file.
However during the installation, when it was installing the inf file, a DOS prompt displayed for several seconds.  Can you give me any suggession about how to hide the DOS prompt?  Thank you.  By the way, to install our software, I need to use the file "addfilter.exe".  So I can't use any other executable.


  • Full Members
  • 88 posts

Posted 03 June 2002 - 12:35

There is a function called HideAppGetExitCode available in the Samples or Tools&Tips sites on installsite.org.