Sign in to follow this  
Followers 0
telamon99

Autoit and MsiSetExternalUI/MsiSetExternalUIRecord

4 posts in this topic

I'm using an Autoit script to perform some housekeeping tasks before launching an MSI installer.

I used to do this all silently, but now I'm being asked to expose some basic progress UI. I already have a progress bar for my housekeeping tasks, but now I'd like to grab progress information from the MSI install process to keep the progress bar incrementing during the install rather than have it jump from 50% to 100% with a lengthy delay. I could cheat and just put the progress bar on a timer for the MSI portion, but that's not very elegant.

I did some googling and found that MsiSetExternalUI or MsiSetExternalUIRecord can be used to grab progress info from the MSI install process, but not I'm not very experienced with C/C# programming. Not averse to learning, but I was hoping someone had some sample Autoit integration code they could share to speed my learning.

Share this post


Link to post
Share on other sites



Necroposting, I know, but does anyone have a solution to this topic? I'd prefer to use MsiSetExternalUI rather than MsiSetExternalUIRecord.

Share this post


Link to post
Share on other sites

This might be helpful for you

Share this post


Link to post
Share on other sites

I would think doing everything properly through the MSI would be easier. You can use Wix and Orca, if you want something free, or AdminStudio if your company is willing to pay for a professional product. I would import your pre- or post- installation scripts as custom actions in the MSI and then simply run the MSI with the minimal UI interface. Windows Installer keeps track of the progress for you.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0