Check Windows Installer (msiexec) version from DNI

Mar 3, 2011 at 9:20 PM

Hello,

How can I check if Windows Installer version 4.5 is installed on target machine using dni.exe. And quit the installation process if not installed.

Please advice.

Thanks!

Coordinator
Mar 3, 2011 at 11:08 PM

You can't do this today. This is an existing feature request: http://dotnetinstaller.codeplex.com/workitem/6387

Mar 4, 2011 at 3:07 PM

Yes it would be very nice to have this feature.

I must mention that this is an amazing software and easy to use. I sincerely appreaciate all the hard work the team has put into this project.

Thank you so much for all your support and replies.

Best wishes.

Mar 17, 2011 at 3:16 PM

Hi

 

I've not tested it yet but I am doing this at the moment and I am doing a file check on #SYSTEMPATH\msi.dll for version_ge 4.5

 

Developer
Mar 28, 2011 at 8:18 PM

I do this by testing #SYSTEMPATH\MSI.dll >= 4.5.6001.22159 and it seems to work ok.