sky
Posts: 12
Joined: Fri Oct 25, 2013 7:52 am

How set BAT script run when don't pop-up cmd window?

Hello,

I add attachment BAT script when uninstall to do mysql database backup. The script run succeed, But every time run when the pop-up CMD window, How to hide the CMD window?
Set as below
Image
Attachments
set picture
set picture
1.JPG (115.75 KiB) Viewed 5292 times
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How set BAT script run when don't pop-up cmd window?

Hello,

In order to launch your .bat file you can also use the predefined Launch file custom action and enable the Hide program's window option from the custom actions properties and the main window or console of the launched program will not be visible.

You can also take a look on the Hide command window article which may be useful to you.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sky
Posts: 12
Joined: Fri Oct 25, 2013 7:52 am

Re: How set BAT script run when don't pop-up cmd window?

Thanks Dan. Use Launch file resolved.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How set BAT script run when don't pop-up cmd window?

You're welcome.

I'm glad you got this working. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”