- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- 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
- Email to a Friend
- 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
