Why can I not start a windows application that uses a .msi file extension

Hi all,
My windows application uses a .msi file extension and when I try to start the application using windows recorder, I get an error back.

Does Katalon only allow windows executable files *.exe to be run or started for desktop application testing?

1 Like

It really depends on what your Windows application is built on. As an example, Katalon Studio does not support a Delphi application.

“Katalon Studio fully supports automation test for desktop apps written in the following platforms: Universal Windows Platform (UWP), Windows Forms (WinForms), Windows Presentation Foundation (WPF), and Classic Windows (Win32).”

Note: are you using a double click to implement the .msi file?

have you tried to run as administrator @abdi.ahmed ?

Our app is a WPF based application and I’m trying to automate the test case where a user runs the installer and then starts the application. The installer is a .msi file but it looks like from the windows action recorder in Katalon, it only allows for .exe files to be started.

I’ve tried running WinAppDriver as administrator but no luck.

One workaround I’m using in Katalon recorder is to start the application for Windows Explorer first then find the .msi installer, double click and go through the installation guide.

So you want to test the installation process?
The recorder expects .exe ie:
" * Application File: the absolute path to the Windows executable file (*.exe) of the testing machine. For Windows users, click on the Browse… button to locate the application file."

If you wanted to run the MSI it I guess you could write your own custom Java code, if you thought it was worthwhile but functionality is not OOB for Katalon

What about using the command prompt to install the application ?
You could start the installation via command prompt + Use a delay

If you need to click on some btn, you could use Katalon Recorder and save the element in order to use it later when you fixed the issue with the installation process.