Forum Discussion

hc_vinod's avatar
Occasional Contributor
9 years ago

how to get product version of an exe

Hi ,    I need to extra prodct version of an exe i am able to get version nmber bt not product Version number   Kindly help me extarcting prodct version  
  • Colin_McCrae's avatar
    9 years ago

    Amazing what a couple of minutes on google can turn up. (It was the first search result)



  • HKosova's avatar
    9 years ago

    TestComplete has a built-in solution for that:



    // JScript
    var strPath = "C:\\Windows\\notepad.exe" var verInfo = aqFileSystem.GetFileInfo(strPath).VersionInfo; Log.Message(verInfo.ProductFullVersion);