Windows installer - run an executable during installation - Error 1500 another installation is in progress
-
Hi guys,
I have a QT Quick application and want to make a windows istaller which runs another executable during installation. I use the Qt Installer Framework 4.4.2 and
component.addElevatedOperation("Execute","{0,1602,1638}","@TargetDir@/Install.exe", "/install", "/passive", "/norestart")
in the installationscript.qs before adding my own executable with component.addOperation.
Unfortunately the installation of the additional executable aborts with error 1500 'another installatin is in progress'.
Has anyone had this problem before and knows a solution? -
Hi guys,
I have a QT Quick application and want to make a windows istaller which runs another executable during installation. I use the Qt Installer Framework 4.4.2 and
component.addElevatedOperation("Execute","{0,1602,1638}","@TargetDir@/Install.exe", "/install", "/passive", "/norestart")
in the installationscript.qs before adding my own executable with component.addOperation.
Unfortunately the installation of the additional executable aborts with error 1500 'another installatin is in progress'.
Has anyone had this problem before and knows a solution?@jannaje
This "Error 1500" comes from Microsoft MSI installer, not actually Qt code. It thinks another installer is running, for some reason. Assuming it is not your own code at fault, you might look through possible remedies such as https://www.auslogics.com/en/articles/fix-error-1500-another-installation-is-in-progress/ to see if anything there helps. You might also use Task Manager to see if you can spot another MSI installer running when the error occurs.