cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pinky08
Level 2

Function to check MSI and .NET version

I'm very new to Installscript programming.

I'm trying to add function that can verify that client has msi.dll with version 3.0 or higher. If it's not 3.0 or higher, display a dialog box that inform the user to download the correct version.

Same function I want to add for checking correct version or .NET.

Can anyone advise which function will be useful?

Please advise ASAP.

I will appreciate for your help.
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Perhaps VerGetFileVersion would be a good starting place for msi.dll; for .NET checking the NDP registry key is often preferred, but perhaps you could also use VerGetFileVersion on mscorlib.dll. (If you want to look for a specific version of .NET, don't check the file version; use the registry key, or the Is(DOTNETFRAMEWORKINSTALLED, ...) function.)
0 Kudos