can you hide a command window when running a custom action? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

BrianRHobbs
Posts: 20
Joined: Tue Jun 24, 2008 11:13 am

can you hide a command window when running a custom action?

Hi There,

I'm running 2 types of custom actions - in one case, a simply command line application, the other a batch file that performs more complex work. However, each time the action runs, it flashes up (albeit briefly) a command window. Is there any way to prevent this, or at least have the command window run minimised?

Thanks,
Brian
canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Re: can you hide a command window when running a custom action?

Brian,

when you search for "hide" on this forum you'll eventually get to a few posts on that.

Also note the documentation for WScript.Shell.Run().



With best regards

Clemens Anhuth
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: can you hide a command window when running a custom action?

Hi Brian,

There are several ways to do this. See the following forum threads for more details:

http://www.advancedinstaller.com/forums ... 908#p14908
http://www.advancedinstaller.com/forums ... f=2&t=5309

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”