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
- :
- How to run command prompt minized in a Custom Action
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
Jan 18, 2018
10:47 AM
How to run command prompt minized in a Custom Action
Recommended start /min but that does not seem to work properly. What happens is the normal command prompt screen opens and then another one minimized. I would like to run the command prompt minimized from the get go.
Any suggestions? Currently it is cmd(.)exe /C "[SETUPEXEDIR]\ICEUserGuide.exe" -auto [INSTALLDIR] and I tried adding start /min: cmd(.).exe start /min /C "[SETUPEXEDIR]\ICEUserGuide.exe" -auto [INSTALLDIR] but it doesn't work (not minimized) or I get error 1722 for bad syntax. Thanks in advance!
BTW, its cmd(.)exe only to post without getting an error.
Any suggestions? Currently it is cmd(.)exe /C "[SETUPEXEDIR]\ICEUserGuide.exe" -auto [INSTALLDIR] and I tried adding start /min: cmd(.).exe start /min /C "[SETUPEXEDIR]\ICEUserGuide.exe" -auto [INSTALLDIR] but it doesn't work (not minimized) or I get error 1722 for bad syntax. Thanks in advance!
BTW, its cmd(.)exe only to post without getting an error.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 18, 2018
05:28 PM
You can find a couple ways to do that here
http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LaunchApplication.htm#langref_appendixc_619625894_1124281
http://helpnet.installshield.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LaunchApplication.htm#langref_appendixc_619625894_1124281
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)