You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setter doesn't accept Version instances having no build and/or revision specified (unspecified fields are set to -1 according to MSDN).
For instance, when trying to set version variable with unspecified revision bootstrapper fails with OverflowException.
I have installed product for which MsiGetProductInfo(...INSTALLPROPERTY_VERSIONSTRING...) returns three-component version string:
Engine.VersionVariables["variableName"] = Version.Parse(versionString)
Shouldn't Engine.VersionVariables documentation indicate that unspecified fields in Version are unsupported? Or probably method should throw ArgumentException in such case? Or treat unspecified fields as 0?
Setter doesn't accept Version instances having no build and/or revision specified (unspecified fields are set to -1 according to MSDN).
For instance, when trying to set version variable with unspecified revision bootstrapper fails with OverflowException.
I have installed product for which MsiGetProductInfo(...INSTALLPROPERTY_VERSIONSTRING...) returns three-component version string:
Engine.VersionVariables["variableName"] = Version.Parse(versionString)
Shouldn't Engine.VersionVariables documentation indicate that unspecified fields in Version are unsupported? Or probably method should throw ArgumentException in such case? Or treat unspecified fields as 0?
The text was updated successfully, but these errors were encountered: