mthama
Posts: 15
Joined: Mon Feb 10, 2014 1:49 pm

Is it possible to use threads in VB AI scripts?

Is it possible to use threads in the Visual Basic script codes of AI? And if yes, what are its features and limitations? Can I use a background-thread from a script launched through sequenced custom action to monitor some given UI field, launch other custom actions, or set AI properties?
Thanks in advance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Is it possible to use threads in VB AI scripts?

Hello,

From what I know I'm not aware about any limitation which could restrict multithreading VBS custom actions to be launched within installation packages. So, I think there should be no problem to launch a multithreading VBS custom action from your setup package. Just make sure the "Wait for custom action to finish before proceeding" and "Fail installation if custom action returns an error" options are disabled for your custom action.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”