Archive: MSI Installer : Show a real time progress


MSI Installer : Show a real time progress
Hi Brainees,

I have a small query If it is possible,
I am trying to install a MSI package (.Net Framework).
I am now able to sort out most of the things like silent install and no reboot etc.

However it takes around 10-20 minutes depending on the user's PC. Now the question is ....


Meanwhile the MSI setup is working in background, is it possible to track it's progress and send message to NSIS to show it along with OR may be we can show some percentage of 100% complete.


Thanks in advance.


Try the RealProgress plugin.

-Stu


Hi Afrow,
I tried it, however I want to show the user a "REALTIME/RUNTIME" progress by "READING" it from a running MSI setup, is it possible?


maybe you can use a cmdline switch. i know that some installers from ms have the option /passive (like /silent, just that you see the progress), but i couldn't find the exact same command for msi.


IDEA1:

If you know what your MSI package installs (you could be installing on a test machine) you could monitor folder the MSI installs the files in and monitor the size of files already installed via a timer and compare this to the total size of files you expect.

IDEA2:
You could intercept the MSIEXEC API and filter your info from there, it's complex and will probabbly not work under Vista anymore.