Forum Discussion

Hala2020's avatar
Hala2020
New Contributor
5 years ago

Identify the installation of application

Hi Buddies, I have a test case to verify whether an application under test is installed before starting it. How to achieve by scripting using javascript?   Hoping for reply,   Thanks,
  • BenoitB's avatar
    5 years ago

    Some ideas:

    - Check filesystem

    - Check Windows Registry

    - Ask Win32 API

    - Check install method

     

    Some questions to answer before making a robust solution:

    - Which kind of app (Windows, Windows 10 app, services application, ...)

    - Fixed install directory or not ?

    - 32 or 64 bits ?

    - Installation method (msi, ...)

     

    How will you do yourself ?