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!

logikonline
Posts: 1
Joined: Tue Jan 14, 2014 12:17 am

Checking for the presence of a Microsoft Update

I am trying to check for the presence of a KB Update in our installer. Is there an easy way to add this check within AI before allowing the installer to continue?

regards,
Dave
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Checking for the presence of a Microsoft Update

Hello and welcome to our forums,

We don't have out of the box functionality for this, but you can try to develop your own custom action to perform the check and save the results into an installer property (CHECK_PROP).

For instance, you can write your custom action in PowerShell, and then use our "Run Windows PowerShell Script" predefined custom action type to run your script and save the results in the "CHECK_PROP" property. The custom action should be added with sequence just before the "Searches" action group. Afterwards, if you want to condition the installation depending on the value stored in your "CHECK_PROP" property, then you can use a custom launch condition.

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

Return to “Building Installers”