View Full Version : How to split [ProductVersion]

Steve S
12-20-2004, 09:46 AM
Hi all,

Im trying to enter just the AA.BB part of my products version number into the registry and was wondering how to go about it?

Can I reference the Major and Minor part of [ProductVersion] or would it be a case of splitting [ProductVersion]?


12-20-2004, 10:36 AM
After installation you can call MsiGetProductInfo with the INSTALLPROPERTY_VERSIONMINOR and INSTALLPROPERTY_VERSIONMAJOR constants; but during installation I think you'll just have to split ProductVersion.