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!

Mike_Rider
Posts: 8
Joined: Fri Jul 17, 2009 8:01 pm

How to pause .bat files?

My installer uses several .bat files. We're still developing them, so they have bugs. When AI calls them (via custom action, at Commit), they flicker on and off too quickly to see. Is there a way to make the windows stay until dismissed? That way we could see and fix the error messages.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to pause .bat files?

Hi,

You can use the "pause" command whenever you want your batch file to stop execution and prompt the user to "press any key to continue".

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”